Declare counter var inside loop
We require c99/gnu99 anyways.
This commit is contained in:
@@ -123,7 +123,7 @@ api_register_command(const char* const plugin_name, const char* command_name, in
|
||||
|
||||
help->tags[0] = NULL;
|
||||
|
||||
int i = 0;
|
||||
int i;
|
||||
for (i = 0; synopsis[i] != NULL; i++) {
|
||||
help->synopsis[i] = strdup(synopsis[i]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user