fix: CMP=vs2012 (error C2143) variables to the top of a function.
This commit is contained in:
1 parent
3ece668f6b
commit
61deabd787
1 file changed
+2
-2
@@ -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