OSDN Git Service

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 e4fa2c2..153ba5b 100644 (file)
@@ -54,6 +54,7 @@ lp_get_printf_arg_count(const char *fmt)
               p += 3;
                continue;
            }
+           /* fallthrough */
         default:
            count ++;
       }