From 0ef352ab92e8fa8e9db3ce645b7b279a7789ea85 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Wed, 26 Nov 2014 11:46:32 -0500 Subject: [PATCH] libevent: fix unused var warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- lib/libevent.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libevent.nit b/lib/libevent.nit index 525915c..a4bef17 100644 --- a/lib/libevent.nit +++ b/lib/libevent.nit @@ -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 -- 1.7.9.5