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=b01ffb8c4b272d24c8c8f44bf03e8b363018939e;hp=7102280a8ded71596cea1c4452887e75d62672ff;hb=d5dbc2cdf931905a4474f7b3b3eaf4c3cb683cf9;hpb=b6d80ec2b30f03bcf454cf9f51c1f6c8b1cf8a7e diff --git a/src/struct.c b/src/struct.c index 7102280..b01ffb8 100644 --- a/src/struct.c +++ b/src/struct.c @@ -198,7 +198,7 @@ bool create_code_type() const void (*getcmdptr(WORD code)) { CMDTAB *t; - const void (*ptr); + const void *ptr = NULL; for(t = code_type[hash_code(code)]; t != NULL; t = t->next) { if(code == t->cmd->code) {