X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-string-utils.c;h=97b2bacbd9f9ee0c7368484cb7fd564c54d2e89d;hb=f806928652eaf5a31e318efe4fb62466fb3a295d;hp=74853807601dbf915e37ffc3c3b2088b3f8bff58;hpb=9486bed4329e2e7a15115c564fede382845ed87a;p=lttng-modules.git diff --git a/lttng-string-utils.c b/lttng-string-utils.c index 74853807..97b2bacb 100644 --- a/lttng-string-utils.c +++ b/lttng-string-utils.c @@ -315,11 +315,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. */