From 5a2a3e5c1f62d1b7ab486445604018333d6d2812 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Wed, 25 Apr 2012 17:59:14 +0200 Subject: [PATCH] Fix "return 0;" in function returning void (create_box) --- src/powder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/powder.c b/src/powder.c index 9c684e91d..354c788e0 100644 --- a/src/powder.c +++ b/src/powder.c @@ -2808,7 +2808,7 @@ void create_box(int x1, int y1, int x2, int y2, int c, int flags) { int i, j; if (c==SPC_PROP) - return 0; + return; if (x1>x2) { i = x2;