You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Chris Wilson <cw...@vigilantsw.com> on 2011/06/20 16:06:02 UTC

Dead assignment detected from commit 1137358

Hi,

We are using Sentry (a C/C++ static analysis tool) to analyze
httpd on a nightly basis. Sentry found that a dead assignment
was recently introduced in the commit r1137358.

This was in event.c:process_socket. The variable pt
was previously used lower in the function, but after the patch
above was applied it is now only used in a local if scope.

This is basically a code clean up patch.

Thanks,
Chris

-- 
Chris Wilson
http://vigilantsw.com/
Vigilant Software, LLC