Skip to content

Commit

Permalink
fix clang warning: use of logical OR with constant
Browse files Browse the repository at this point in the history
if statement always true
  • Loading branch information
minghui-liu committed Jul 4, 2018
1 parent 4211656 commit b15df97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmds/pbsnodes.c
Expand Up @@ -1022,7 +1022,7 @@ main(int argc, char *argv[])
break;

case 'S':
if (oper == LISTSP || oper == ALL || LISTSPNV)
if (oper == LISTSP || oper == ALL || oper == LISTSPNV)
prt_summary = 1;
else
errflg = 1;
Expand Down

0 comments on commit b15df97

Please sign in to comment.