X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fstruct.c;h=b01ffb8c4b272d24c8c8f44bf03e8b363018939e;hb=1a7e5a088f19779d58609b2af997d894cd5fcf47;hp=7102280a8ded71596cea1c4452887e75d62672ff;hpb=2891de6ed6e954f8a368949463cb32807799a8a1;p=YACASL2.git 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) {