diff options
author | Paul Selkirk <paul@psgd.org> | 2017-10-11 21:26:27 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2017-10-11 21:26:27 -0400 |
commit | b159bf0bb24a99c7d3ff1b3855f840add63198e5 (patch) | |
tree | 9e3861da94bb69412025ef51db5a686d717d7a84 /projects/cli-test/test-mkmif.c | |
parent | 4026cce22d330d3b9c4b218dd2e19d4f60412e05 (diff) |
Cleanup 'unused parameter' warnings, a couple of which are actual coding errors.
Diffstat (limited to 'projects/cli-test/test-mkmif.c')
-rw-r--r-- | projects/cli-test/test-mkmif.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/projects/cli-test/test-mkmif.c b/projects/cli-test/test-mkmif.c index bb41b4d..6321dde 100644 --- a/projects/cli-test/test-mkmif.c +++ b/projects/cli-test/test-mkmif.c @@ -142,6 +142,10 @@ int cmd_test_mkmif(struct cli_def *cli, const char *command, char *argv[], int a hal_core_t *core = hal_core_find(MKMIF_NAME, NULL); hal_error_t res; + command = command; + argv = argv; + argc = argc; + if (core == NULL) { cli_print(cli, "MKMIF core not present, not testing.\n"); return HAL_ERROR_CORE_NOT_FOUND; |