]> git.lttng.org Git - lttng-tools.git/commitdiff
Fix: unhandled value in lttng_consumer_type formatter
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 25 Nov 2024 19:57:37 +0000 (19:57 +0000)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 25 Nov 2024 19:58:09 +0000 (19:58 +0000)
Change-Id: I6780fafba72c326a8ea036d0500db6f15524886f
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/consumer/consumer.hpp

index ff5a91f8a172072ba0b339ea174ac6e6bfdb76f0..8a5d307bebe1bea19a6c760dcee89427bf97eb4a 100644 (file)
@@ -102,6 +102,8 @@ struct formatter<lttng_consumer_type> : formatter<std::string> {
                case LTTNG_CONSUMER_UNKNOWN:
                        name = "unknown consumer";
                        break;
+               default:
+                       std::abort();
                }
 
                return format_to(ctx.out(), name);
This page took 0.028742 seconds and 4 git commands to generate.