summaryrefslogtreecommitdiff
path: root/pathd/path_cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'pathd/path_cli.c')
-rw-r--r--pathd/path_cli.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pathd/path_cli.c b/pathd/path_cli.c
index b88453c68f..66680357da 100644
--- a/pathd/path_cli.c
+++ b/pathd/path_cli.c
@@ -1079,9 +1079,11 @@ static const char *objfun_type_name(enum objfun_type type)
return "mss";
case OBJFUN_MSN:
return "msn";
- default:
+ case OBJFUN_UNDEFINED:
return NULL;
}
+
+ assert(!"Reached end of function we should never hit");
}
DEFPY_NOSH(show_debugging_pathd, show_debugging_pathd_cmd,