X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=src%2Fstruct.c;fp=src%2Fstruct.c;h=72c1c9cf6235d2eb9a9a355fea3934f766b308ba;hp=a617cecbcdae949bc3629badf025c92b429b186b;hb=a7982d41c9809fdddbc5bac27c9d08b8a9d05012;hpb=b57939e6166b26126802b129a3f367b972bb453f diff --git a/src/struct.c b/src/struct.c index a617cec..72c1c9c 100644 --- a/src/struct.c +++ b/src/struct.c @@ -112,7 +112,7 @@ unsigned hash_cmdtype(const char *cmd, CMDTYPE type) */ bool create_cmdtable(CMDTAB_HASH hash) { - CMDTAB *p; + CMDTAB *p = NULL; unsigned hashval; int i;