From: j8takagi Date: Sat, 31 May 2014 14:08:59 +0000 (+0900) Subject: LLVMで発生した警告をもとにソースを修正 X-Git-Tag: v0.2p29~2 X-Git-Url: https://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5dbc2cdf931905a4474f7b3b3eaf4c3cb683cf9;p=YACASL2.git LLVMで発生した警告をもとにソースを修正 --- 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) {