Implement variant type
[lttng-modules.git] / lttng-context.c
index 933732266e9eb076ff26d0adefa1381a351b6399..d299d5e2e97412f90e05dec1e78295ebd01a2fd3 100644 (file)
@@ -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:
This page took 0.043829 seconds and 4 git commands to generate.