From d37547917ea08977174c14fd4367a94f51f5c118 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sun, 5 Sep 2021 20:35:40 +0200 Subject: [PATCH] cppcheck fix name difference declaration/definition --- client/src/pm3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/pm3.c b/client/src/pm3.c index f020b116f..056fd8963 100644 --- a/client/src/pm3.c +++ b/client/src/pm3.c @@ -40,10 +40,10 @@ void pm3_close(pm3_device_t *dev) { } } -int pm3_console(pm3_device_t *dev, char *Cmd) { +int pm3_console(pm3_device_t *dev, char *cmd) { // For now, there is no real device context: (void) dev; - return CommandReceived(Cmd); + return CommandReceived(cmd); } const char *pm3_name_get(pm3_device_t *dev) {