[APPSHIM_APITEST] Fix a Clang-Cl warning about n
authorSerge Gautherie <reactos-git_serge_171003@gautherie.fr>
Tue, 17 Apr 2018 11:26:33 +0000 (13:26 +0200)
committerMark Jansen <mark.jansen@reactos.org>
Tue, 8 May 2018 19:36:26 +0000 (21:36 +0200)
- "warning: comparison of unsigned expression >= 0 is always true [-Wtautological-unsigned-zero-compare]"

CORE-14306

modules/rostests/apitests/appshim/dispmode.c

index 68c3b2f..1842379 100644 (file)
@@ -481,7 +481,7 @@ START_TEST(dispmode)
     else
     {
         n = (size_t)atoi(argv[2]);
-        if (n >= 0 && n < _countof(tests))
+        if (n < _countof(tests))
         {
             run_test(n, FALSE);
         }