Skip to content

Commit 56ff6c8

Browse files
committed
Merge pull request #90 from serval2412/master
cppcheck: Expr is always false because 'else if' cond matches previous cond
2 parents bee2a26 + 9ab775e commit 56ff6c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libudis86/syn-att.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ ud_translate_att(struct ud *u)
157157
ud_asmprintf(u, "lock ");
158158
if (u->pfx_rep) {
159159
ud_asmprintf(u, "rep ");
160-
} else if (u->pfx_rep) {
160+
} else if (u->pfx_repe) {
161161
ud_asmprintf(u, "repe ");
162162
} else if (u->pfx_repne) {
163163
ud_asmprintf(u, "repne ");

0 commit comments

Comments
 (0)