Clean-up: sessiond: cmd: abort() on invalid query target
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 19 Apr 2021 15:06:23 +0000 (11:06 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 19 Apr 2021 15:06:23 +0000 (11:06 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ia02fb651a18d927c3b04e20bb55aa588d071b87c

src/bin/lttng-sessiond/cmd.c

index 76258dc87d3e461b208a48540de527844dd7bf31..a020ab6e74e5dc562a4b5b22d03ed41565568f56 100644 (file)
@@ -4763,6 +4763,7 @@ enum lttng_error_code cmd_execute_error_query(const struct lttng_credentials *cm
                break;
        }
        default:
+               abort();
                break;
        }
 
This page took 0.027218 seconds and 4 git commands to generate.