Remove warnings
[anna.git] / example / core / thread / main.cpp
index 145923b..2f454d4 100644 (file)
@@ -254,7 +254,7 @@ void Waiter::notifyResponse (const int result)
    
    a_result = result;
    
-   write (a_pipe [WriteChannel], &byte, sizeof (byte));
+   ssize_t r = write (a_pipe [WriteChannel], &byte, sizeof (byte));
 }
 
 // Modela al thread que recibe la respuesta correspondiente a la peticiĆ³n por la