X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-context.c;h=d299d5e2e97412f90e05dec1e78295ebd01a2fd3;hb=65c85aa61984217039857513bbe988036f371693;hp=933732266e9eb076ff26d0adefa1381a351b6399;hpb=114667d5aa4ec11334787e04a9f90fe9184fc16f;p=lttng-modules.git diff --git a/lttng-context.c b/lttng-context.c index 93373226..d299d5e2 100644 --- a/lttng-context.c +++ b/lttng-context.c @@ -144,6 +144,7 @@ void lttng_context_update(struct lttng_ctx *ctx) case atype_struct: case atype_array_compound: case atype_sequence_compound: + case atype_variant: default: WARN_ON_ONCE(1); break; @@ -166,6 +167,7 @@ void lttng_context_update(struct lttng_ctx *ctx) case atype_struct: case atype_array_compound: case atype_sequence_compound: + case atype_variant: default: WARN_ON_ONCE(1); break; @@ -187,6 +189,7 @@ void lttng_context_update(struct lttng_ctx *ctx) case atype_struct: case atype_array_compound: case atype_sequence_compound: + case atype_variant: default: WARN_ON_ONCE(1); break; @@ -199,6 +202,7 @@ void lttng_context_update(struct lttng_ctx *ctx) case atype_struct: case atype_array_compound: case atype_sequence_compound: + case atype_variant: break; case atype_enum: