E: e_thumb: Fix 'ignored return value' of nice.
authorChristopher Michael <cpmichael1@comcast.net>
Sun, 22 May 2011 17:09:16 +0000 (17:09 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Sun, 22 May 2011 17:09:16 +0000 (17:09 +0000)
SVN revision: 59602

src/bin/e_thumb_main.c

index 4fd9a91..b2489a0 100644 (file)
@@ -85,10 +85,11 @@ main(int    argc,
         else if (!strncmp(argv[i], "--nice=", 7))
           {
              const char *val;
+             int ret = 0;
 
              val = argv[i] + 7;
              if (*val)
-               nice(atoi(val));
+               ret = nice(atoi(val));
           }
      }