From: Alexey Aleshkov Date: Sun, 10 Dec 2017 11:30:15 +0000 (+0300) Subject: Add missed parentheses around the assignment X-Git-Url: http://deadsoftware.ru/gitweb?p=flatwaifu.git;a=commitdiff_plain;h=c7891b56fec4c7f8c85d28e33bb34e5d4b88d616 Add missed parentheses around the assignment --- diff --git a/src/my.c b/src/my.c index 701dd1d..08877e9 100644 --- a/src/my.c +++ b/src/my.c @@ -99,7 +99,7 @@ void myrandomize(void) int fexists(char * filename) { FILE *f; - if (f = fopen(filename, "r")) + if ((f = fopen(filename, "r"))) { fclose(f); return 1;