diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-01-30 10:08:25 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-01-31 15:15:42 -0500 |
| commit | d5dea3506e4bb55ebea5a225c70e24e8d6c800ac (patch) | |
| tree | 0692150aabb29769357007ac2a095808c52e0952 /pathd/path_cli.c | |
| parent | da21ae9dc78ad3b7681047f5783e83af9a0242b3 (diff) | |
pathd: Add missing enum's to switch statement
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pathd/path_cli.c')
| -rw-r--r-- | pathd/path_cli.c | 4 |
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, |
