X-Git-Url: http://git.lttng.org/?p=lttng-modules.git;a=blobdiff_plain;f=lttng-string-utils.c;h=416896cc0bb22c9741815948a4bb6f104531a134;hp=7b3504bb6202becf1a89fb7851534432bdfaa4b8;hb=4e47802a923286a71ace2ade6a4ffd41099697b5;hpb=27e6eda75df97483d07d61ba731bbc428e2161f9 diff --git a/lttng-string-utils.c b/lttng-string-utils.c index 7b3504bb..416896cc 100644 --- a/lttng-string-utils.c +++ b/lttng-string-utils.c @@ -302,11 +302,12 @@ retry: p = pattern_get_char_at_cb(p_at, pattern_get_char_at_cb_data); + /* Fall-through. */ + default: /* - * Fall through the default case which will - * compare the escaped character now. + * Default case which will compare the escaped + * character now. */ - default: if (p == '\0' || c != p) { end_of_pattern: /* Character mismatch OR end of pattern. */