X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Flttng-bytecode-specialize.c;h=f8b5f19dcdc5d1629a9a9977631446f3c28a6483;hb=c190d76e8c7b44d62b3651ab845b765c1b1f8104;hp=c4b9d04ba3491c068481525ec2ee7693d7b45860;hpb=ffcc873470121ef1ebb110df3d9038a38d9cb7cb;p=lttng-modules.git diff --git a/src/lttng-bytecode-specialize.c b/src/lttng-bytecode-specialize.c index c4b9d04b..f8b5f19d 100644 --- a/src/lttng-bytecode-specialize.c +++ b/src/lttng-bytecode-specialize.c @@ -8,6 +8,8 @@ */ #include +#include + #include #include #include @@ -271,7 +273,8 @@ static int specialize_get_index(struct bytecode_runtime *runtime, } case OBJECT_TYPE_STRUCT: /* Only generated by the specialize phase. */ - case OBJECT_TYPE_VARIANT: /* Fall-through */ + case OBJECT_TYPE_VARIANT: + lttng_fallthrough; default: printk(KERN_WARNING "LTTng: bytecode: Unexpected get index type %d", (int) stack_top->load.object_type);