diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-07-07 20:45:53 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-07-07 20:45:53 +0200 |
commit | 3b46a035bb0653d58e2a3df48e615c79cccbb84d (patch) | |
tree | eb09835d7a7c7b53e625ce65d091b982473a8964 | |
parent | f101f95a706f8aca396a60e633d870655f77236e (diff) |
Initialization
-rw-r--r-- | FICS/obsproc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/FICS/obsproc.c b/FICS/obsproc.c index 6a41e6c..43d0ace 100644 --- a/FICS/obsproc.c +++ b/FICS/obsproc.c @@ -948,8 +948,8 @@ PRIVATE char * FindHistory(int p, int p1, int game) { FILE *fpHist; - int index; - long int when; + int index = 0; + long int when = 0; static char fileName[MAX_FILENAME_SIZE]; msnprintf(fileName, sizeof fileName, "%s/player_data/%c/%s.%s", @@ -983,8 +983,8 @@ PRIVATE char * FindHistory2(int p, int p1, int game, char *End) { FILE *fpHist; - int index; - long int when; + int index = 0; + long int when = 0; static char fileName[MAX_FILENAME_SIZE]; msnprintf(fileName, sizeof fileName, "%s/player_data/%c/%s.%s", |