index_dir.c:172: missing break ?
Brought to you by:
jnelson
I just ran the static analysis tool "cppcheck" over
the source code of boa-0.94.14
It said many things, including
[index_dir.c:172] -> [index_dir.c:174]: (warning) Variable 'the_error' is reassigned a value before the old one has been used. 'break;' missing?
Source code is
case 4: the_error = "There was an error escaping a string."; case 5: the_error = "Too many arguments were passed to the indexer."; break; case 6:
Suggest add missing break.