diff options
author | Thomas White <taw@physics.org> | 2015-07-13 14:22:17 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-07-13 16:00:16 +0200 |
commit | f801c63795f3abad546c240bc4c27032c3e3c785 (patch) | |
tree | 6d990e256efb977ff1156c1da9a0d5b20e7e06d6 /src/whirligig.c | |
parent | 65b952d9d99f1a6b3ecf353f6725065b616f5609 (diff) |
Fix some warnings
Diffstat (limited to 'src/whirligig.c')
-rw-r--r-- | src/whirligig.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |