]> granicus.if.org Git - gc/commit
Eliminate 'unnecessary comparison of static strings' cppcheck warning
authorIvan Maidanski <ivmai@mail.ru>
Thu, 13 Oct 2016 08:16:23 +0000 (11:16 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 13 Oct 2016 08:17:37 +0000 (11:17 +0300)
commit3c0df798ff952ba5c2915788b7671c399f52d270
tree6a28be1b1f4f8696c32561c2d066f51b1bd63959
parent3dc5035d76237efed82e675452709f3d9fe4af6d
Eliminate 'unnecessary comparison of static strings' cppcheck warning

* tools/if_mach.c (main): Replace strcmp(x, "")!=0 with strlen(x)>0.
tools/if_mach.c