X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-string-utils.c;h=97b2bacbd9f9ee0c7368484cb7fd564c54d2e89d;hb=858618467cf7b7cb9f83ca283b45187ecb13c8cf;hp=74853807601dbf915e37ffc3c3b2088b3f8bff58;hpb=e755fa6dfe5943517c02cdfdfe358fd61f462a3d;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. */