libevent: fix unused var warning
authorAlexis Laferrière <alexis.laf@xymus.net>
Wed, 26 Nov 2014 16:46:32 +0000 (11:46 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Thu, 27 Nov 2014 15:12:33 +0000 (10:12 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/libevent.nit

index 525915c..a4bef17 100644 (file)
@@ -154,7 +154,7 @@ class Connection
        # Write a string to the connection
        fun write(str: String)
        do
-               var res = native_buffer_event.write(str.to_cstring, str.length)
+               native_buffer_event.write(str.to_cstring, str.length)
        end
 
        # Write a file to the connection