aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/eco.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-03-30 02:00:53 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-03-30 02:00:53 +0100
commit617a0f3c1d1f625c7a7b82efdf6b970715cd7bcc (patch)
tree8d0f75e152366c09fb5bad08f8a830c78b75fd7f /FICS/eco.c
parenteae7d0b9e25648ed6d9d9e990f176570b11386b5 (diff)
Initialization
Diffstat (limited to 'FICS/eco.c')
-rw-r--r--FICS/eco.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/FICS/eco.c b/FICS/eco.c
index ebaf52a..5d269d3 100644
--- a/FICS/eco.c
+++ b/FICS/eco.c
@@ -111,10 +111,10 @@ ECO_init(void)
{
FILE *fp;
char ECO[4];
- char FENpos[73];
- char filename[1024];
+ char FENpos[73] = { '\0' };
+ char filename[1024] = { '\0' };
char onMove[2];
- char tmp[1024];
+ char tmp[1024] = { '\0' };
char *ptmp = tmp;
int i = 0;
@@ -173,11 +173,11 @@ PUBLIC void
NIC_init(void)
{
FILE *fp;
- char FENpos[73];
+ char FENpos[73] = { '\0' };
char NIC[6];
- char filename[1024];
+ char filename[1024] = { '\0' };
char onMove[2];
- char tmp[1024];
+ char tmp[1024] = { '\0' };
char *ptmp = tmp;
int i = 0;
@@ -228,11 +228,11 @@ PUBLIC void
LONG_init(void)
{
FILE *fp;
- char FENpos[73];
- char LONG[256];
- char filename[1024];
+ char FENpos[73] = { '\0' };
+ char LONG[256] = { '\0' };
+ char filename[1024] = { '\0' };
char onMove[2];
- char tmp[1024];
+ char tmp[1024] = { '\0' };
char *ptmp = tmp;
int i = 0;