From f801c63795f3abad546c240bc4c27032c3e3c785 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 13 Jul 2015 14:22:17 +0200 Subject: Fix some warnings --- src/whirligig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/whirligig.c') diff --git a/src/whirligig.c b/src/whirligig.c index b774f397..c5e8084b 100644 --- a/src/whirligig.c +++ b/src/whirligig.c @@ -777,7 +777,7 @@ int main(int argc, char *argv[]) /* Allocate initial window */ win.ws = default_window_size; win.img = calloc(win.ws, sizeof(struct image)); - if ( (win.img == NULL) ) { + if ( win.img == NULL ) { ERROR("Failed to allocate series buffers\n"); return 1; } -- cgit v1.2.3