Skip to content

Commit

Permalink
Delete expressions with the same left and right sides as '&&'
Browse files Browse the repository at this point in the history
  • Loading branch information
qinzhiben11 authored and trufae committed Nov 9, 2023
1 parent afceff6 commit d638525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ArchMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<LanguageDescription> &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;
}
Expand Down

0 comments on commit d638525

Please sign in to comment.