gallivm: Add fallthrough comment at end of case statement.
authorVinson Lee <vlee@vmware.com>
Fri, 2 Apr 2010 08:14:24 +0000 (01:14 -0700)
committerVinson Lee <vlee@vmware.com>
Fri, 2 Apr 2010 08:16:13 +0000 (01:16 -0700)
The code is correct. Tell Coverity that the fallthrough case is
intentional.

src/gallium/auxiliary/gallivm/lp_bld_printf.c

index e4fa2c264c3f24a9dc4b32901caceff8be6a685d..153ba5b15b17656b3b3be65ce43c2b73f4cf38a6 100644 (file)
@@ -54,6 +54,7 @@ lp_get_printf_arg_count(const char *fmt)
               p += 3;
                continue;
            }
+           /* fallthrough */
         default:
            count ++;
       }