warnings: use more 'const' for char *
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
@@ -310,7 +310,7 @@ static void command_free(struct command *c)
|
||||
}
|
||||
|
||||
if (c->name)
|
||||
free(c->name);
|
||||
free((void *)c->name);
|
||||
if (c->help)
|
||||
free((void*)c->help);
|
||||
if (c->usage)
|
||||
|
||||
Reference in New Issue
Block a user