Print this page
10076 make usr/src/test smatch clean

@@ -26,11 +26,11 @@
 char foo[4096];
 
 static void *
 donothing(void *nothing)
 {
-        sleep(5);
+        (void) sleep(5);
         return (NULL);
 }
 
 int
 main(void)

@@ -66,15 +66,15 @@
                 ssd.sel = SEL_LDT(i);
                 (void) sysi86(SI86DSCR, &ssd);
         }
 
         for (int i = 0; i < 10; i++)
-                pthread_create(&tid, NULL, donothing, NULL);
+                (void) pthread_create(&tid, NULL, donothing, NULL);
 
         if (forkall() == 0) {
-                sleep(2);
+                (void) sleep(2);
                 _exit(0);
         }
 
-        sleep(6);
+        (void) sleep(6);
         return (0);
 }