Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: commits

[6716] cherokee/trunk/cherokee/util.c: "'flags' is used uninitialized in this function." Klocwork Issue #124

 

 

Cherokee commits RSS feed   Index | Next | Previous | View Threaded


cherokee at cherokee-project

May 24, 2011, 10:13 AM

Post #1 of 1 (135 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

Cherokee commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.