From f59a58bf3c3997c650d746e0965ee5c17483c850 Mon Sep 17 00:00:00 2001 From: Orestis Malaspinas <orestis.malaspinas@hesge.ch> Date: Mon, 13 May 2019 13:24:26 +0200 Subject: [PATCH] removed warning --- lib/lbm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/lbm.c b/lib/lbm.c index dad84b0..e0d0343 100644 --- a/lib/lbm.c +++ b/lib/lbm.c @@ -46,7 +46,10 @@ int main() } show_pixels(context, nx, ny); - int mask_id = gfx_left_right_mouse_pressed(&p); + int id = gfx_left_right_mouse_pressed(&p); + if (id) { + printf("A valid mouse clic was performed.\n"); + } it += 1; } -- GitLab