aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_indent.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-10-30 22:40:35 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-10-30 22:40:35 -0700
commita529fc9d83295fdf9418436b68d056162ba8231b (patch)
tree97cf66daca3b5e7efb927c7e37fc7515ec8b0ceb /fish_indent.cpp
parent173a6a71c03847158a434c3fd63e5759bf933239 (diff)
Set of fixes for issues identified by cppcheck
Diffstat (limited to 'fish_indent.cpp')
-rw-r--r--fish_indent.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/fish_indent.cpp b/fish_indent.cpp
index 21ffd47f..ddd9189b 100644
--- a/fish_indent.cpp
+++ b/fish_indent.cpp
@@ -336,6 +336,7 @@ int main(int argc, char **argv)
{
print_help("fish_indent", 1);
exit(0);
+ assert(0 && "Unreachable code reached");
break;
}
@@ -346,6 +347,8 @@ int main(int argc, char **argv)
program_name,
get_fish_version());
exit(0);
+ assert(0 && "Unreachable code reached");
+ break;
}
case 'i':