fix: CMP=vs2012 (error C2143) variables to the top of a function.
This commit is contained in:
committed by
Andrew Johnson
parent
3ece668f6b
commit
61deabd787
@@ -31,11 +31,11 @@ static int s_initendflag = 0; // Defines the end of the initialization
|
||||
|
||||
static void atInitHook(initHookState state)
|
||||
{
|
||||
struct cmditem *item = NULL;
|
||||
|
||||
if (state != initHookAfterIocRunning)
|
||||
return;
|
||||
|
||||
struct cmditem *item = NULL;
|
||||
|
||||
while ((item = (struct cmditem *)ellGet(&s_cmdlist))) {
|
||||
printf("%s\n", item->cmd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user