
cherokee at cherokee-project
May 24, 2011, 10:13 AM
Post #1 of 1
(104 views)
Permalink
|
|
[6716] cherokee/trunk/cherokee/util.c: "'flags' is used uninitialized in this function." Klocwork Issue #124
|
|
Revision: 6716 http://svn.cherokee-project.com/changeset/6716 Author: alo Date: 2011-05-24 19:13:32 +0200 (Tue, 24 May 2011) Log Message: ----------- "'flags' is used uninitialized in this function." Klocwork Issue #124 Modified Paths: -------------- cherokee/trunk/cherokee/util.c Modified: cherokee/trunk/cherokee/util.c =================================================================== --- cherokee/trunk/cherokee/util.c 2011-05-24 16:35:17 UTC (rev 6715) +++ cherokee/trunk/cherokee/util.c 2011-05-24 17:13:32 UTC (rev 6716) @@ -858,7 +858,7 @@ cherokee_fd_set_nodelay (int fd, cherokee_boolean_t enable) { int re; - int flags; + int flags = 0; /* Disable the Nagle algorithm. This means that segments are * always sent as soon as possible, even if there is only a
|