Thanks; I fixed this.
-- David

On 20-Jul-2014 3:55 AM, Toralf Förster wrote:
The current git version of cppcheck blamed this around line 346.

It is new, so it might be a false positive, but is it a FP ? :

     PROCINFO boinc_total;
     if (log_flags.mem_usage_debug) {
         memset(&boinc_total, 0, sizeof(boinc_total));<--- Using 'memset' on 
struct that contains a 'std::vector'.
     }

_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to