fix: block: move block-related definitions out of fs.h (v5.16)
[lttng-modules.git] / lttng-string-utils.c
index 7b3504bb6202becf1a89fb7851534432bdfaa4b8..e807570663d64f03002bf7f15f67553d87b69b5e 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <linux/types.h>
+#include <wrapper/compiler_attributes.h>
 
 #include <lttng-string-utils.h>
 
@@ -302,11 +303,12 @@ retry:
                        p = pattern_get_char_at_cb(p_at,
                                pattern_get_char_at_cb_data);
 
+                       lttng_fallthrough;
+               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. */
This page took 0.023324 seconds and 4 git commands to generate.