diff --git a/src/ArchMap.cpp b/src/ArchMap.cpp index 8d91551a..5ec15abf 100644 --- a/src/ArchMap.cpp +++ b/src/ArchMap.cpp @@ -250,7 +250,7 @@ int ai(RCore *core, std::string cpu, int query) { std::string SleighIdFromSleighAsmConfig(RCore *core, const char *cpu, int bits, bool bigendian, const vector &langs) { const char *colon = strchr (cpu, ':'); - if (colon != nullptr && colon[1] != '\0' && colon[1] != '\0') { + if (colon != nullptr && colon[1] != '\0') { // complete id specified return cpu; }