< prev index next >

src/java.desktop/unix/native/libawt_xawt/xawt/XToolkit.c

Print this page

        

@@ -745,11 +745,11 @@
  * Wakes-up poll() in performPoll
  */
 static void wakeUp() {
     static char wakeUp_char = 'p';
     if (!isMainThread() && awt_pipe_inited) {
-        write ( AWT_WRITEPIPE, &wakeUp_char, 1 );
+        int ret = write ( AWT_WRITEPIPE, &wakeUp_char, 1 );
     }
 }
 
 
 /* ========================== End poll section ================================= */
< prev index next >