summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2019-10-17 20:55:01 +0000
committerIan C <ianc@noddybox.co.uk>2019-10-17 20:55:01 +0000
commitb1920db0680da9893b35ae7718ff254b03fb169d (patch)
tree196c70ada41fdf71b74fd9c9c19097ae8a4c42fb
parent80992ebe6c12cfd9d0d03df6762c2c0f121e6351 (diff)
Added missing initialisation of anagram flag.
-rw-r--r--codeword.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codeword.c b/codeword.c
index 0a2be5a..42cddba 100644
--- a/codeword.c
+++ b/codeword.c
@@ -220,7 +220,7 @@ int main(int argc, char *argv[])
int f;
FILE *fp;
char buff[1024];
- int anagram_mode;
+ int anagram_mode = 0;
int argc_base = 1;
if (argc > 1 && strcmp(argv[1], "-a") == 0)