automated cppcheck for gnupg

Werner Koch wk at gnupg.org
Wed Apr 16 14:14:11 CEST 2014


On Wed, 16 Apr 2014 12:50, hans at guardianproject.info said:

> The question now is whether you want cppcheck errors to automatically trigger
> an email to the committers.  That will be a lot easier if cppcheck does not
> find things its thinks are errors.  That means doing things like:

One mail more does not harm.  However, given the long list of false
positives I doubt that it makes sense to look at the identified problems
regularly.

>
> -  char buffer[BUFFER_SIZE];
> +  char buffer[BUFFER_SIZE] = ""; // make cppcheck happy

No, that is plainly wrong.



Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-devel mailing list