X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=src%2Flttng-bytecode-specialize.c;h=f8b5f19dcdc5d1629a9a9977631446f3c28a6483;hb=063f08258cc2b06e87beca31c613b7dd81e9a8f3;hp=c4b9d04ba3491c068481525ec2ee7693d7b45860;hpb=6c8c025bf7552b6073c5c1884e1493badd842f42;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);