Fix issues revealed by cppcheck 1.83 (#2355)

A more recent cppcheck has revealed some extra issues not detected
by the old one running on CI.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
Akos Kiss
2018-05-24 08:48:34 +02:00
committed by yichoi
parent 9eb9fbf5f1
commit 06910b456e
3 changed files with 7 additions and 9 deletions
+1 -1
View File
@@ -362,7 +362,7 @@ cli_print_help (const char *help) /**< the help message to print */
cli_print_prefix (help, length);
help += length;
while (*help == ' ' && *help != 0)
while (*help == ' ')
{
help++;
}