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