lua: Fix explicit braces warning
This commit is contained in:
parent
5b05271e4c
commit
529ae4cc89
|
@ -1624,6 +1624,7 @@ static int command_lua(char *word[], char *word_eol[], void *userdata)
|
||||||
else if(!strcmp(word[2], "reset"))
|
else if(!strcmp(word[2], "reset"))
|
||||||
{
|
{
|
||||||
if(interp)
|
if(interp)
|
||||||
|
{
|
||||||
if(interp->status & STATUS_ACTIVE)
|
if(interp->status & STATUS_ACTIVE)
|
||||||
{
|
{
|
||||||
interp->status |= STATUS_DEFERRED_RELOAD;
|
interp->status |= STATUS_DEFERRED_RELOAD;
|
||||||
|
@ -1635,6 +1636,7 @@ static int command_lua(char *word[], char *word_eol[], void *userdata)
|
||||||
create_interpreter();
|
create_interpreter();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if(!strcmp(word[2], "list"))
|
else if(!strcmp(word[2], "list"))
|
||||||
{
|
{
|
||||||
guint i;
|
guint i;
|
||||||
|
|
Loading…
Reference in New Issue