Skip to content

Commit

Permalink
slm/thread: use !foo instead of foo == false
Browse files Browse the repository at this point in the history
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
  • Loading branch information
tchaikov committed May 8, 2016
1 parent 089b028 commit e3c122e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slm/thread/slmthread.cpp
Expand Up @@ -248,7 +248,7 @@ main(int argc, char* argv[])
ShowUsage();

printf("Loading original slm..."); fflush(stdout);
if (slm.Load(argv[1]) == false)
if (!slm.Load(argv[1]))
ShowUsage();

bool usingLogPr = slm.isUseLogPr();
Expand Down

0 comments on commit e3c122e

Please sign in to comment.