Yo Hal!

On Sun, 05 Feb 2023 20:01:13 -0800
Hal Murray <halmur...@sonic.net> wrote:

> > Sadly some compilers will always complain if there is no default.
> > So I always add a default.   
> 
> We turn on -Wswitch-default

I like it.

> I'd like to turn on -Wswitch-enum
> That generates a handful of warnings that I'm willing to fix.

I like it.
 
> But then Coverity will barf (DEADCODE) at all the defaults.

What purpose do they still have?

> I think I'm willing to fix them.  Is there any way to run Coverity
> without waiting for it to get around to scanning our code?

I think coverity grabs every commit, and does not wait long.

I think there is a way to force it too.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        g...@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgp_zsybVrQSa.pgp
Description: OpenPGP digital signature

_______________________________________________
devel mailing list
devel@ntpsec.org
https://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to