mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
sys/shell/commands/sc_dfplayer: make cppcheck happy
This commit is contained in:
parent
5abe0032cc
commit
43c567ab53
@ -377,7 +377,7 @@ int _sc_dfplayer(int argc, char **argv)
|
||||
}
|
||||
|
||||
if (!strcmp("files", argv[pos])) {
|
||||
if (++pos != argc) {
|
||||
if ((pos + 1) != argc) {
|
||||
print_str("Error: Expected no parameter for argument \"files\"\n");
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user