Compilation warning fix.
authorPekka Riikonen <priikone@silcnet.org>
Wed, 30 May 2007 15:47:07 +0000 (15:47 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Wed, 30 May 2007 15:47:07 +0000 (15:47 +0000)
lib/silcutil/unix/silcunixschedule.c

index 42b32a95e4ddf78459265a63446ee981f190d9ac..d117f522346b858ecbc64aa025230772c776e1ca 100644 (file)
@@ -316,7 +316,7 @@ SILC_TASK_CALLBACK(silc_schedule_wakeup_cb)
 
   SILC_LOG_DEBUG(("Wokeup"));
 
-  read(internal->wakeup_pipe[0], &c, 1);
+  (void)read(internal->wakeup_pipe[0], &c, 1);
 }
 
 #endif /* SILC_THREADS */
@@ -444,7 +444,7 @@ void silc_schedule_internal_wakeup(SilcSchedule schedule, void *context)
 
   SILC_LOG_DEBUG(("Wakeup"));
 
-  write(internal->wakeup_pipe[1], "!", 1);
+  (void)write(internal->wakeup_pipe[1], "!", 1);
 #endif
 }