1
0
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:
Leandro Lanzieri 2021-11-19 12:14:02 +01:00
parent 5abe0032cc
commit 43c567ab53
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593

View File

@ -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;
}