You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2014/07/14 22:43:25 UTC

[05/11] git commit: TS-1475: fix clang warnings - init toconsume to 0

TS-1475: fix clang warnings - init toconsume to 0


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/9586ba40
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/9586ba40
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/9586ba40

Branch: refs/heads/master
Commit: 9586ba401d85e81d16549078656ac517582a8dc0
Parents: 92f8a88
Author: JvD <ja...@cable.comcast.com>
Authored: Mon Jul 14 13:42:32 2014 -0600
Committer: Phil Sorber <so...@apache.org>
Committed: Mon Jul 14 14:43:08 2014 -0600

----------------------------------------------------------------------
 example/thread-pool/psi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/9586ba40/example/thread-pool/psi.c
----------------------------------------------------------------------
diff --git a/example/thread-pool/psi.c b/example/thread-pool/psi.c
index 1860d8e..4d115c4 100644
--- a/example/thread-pool/psi.c
+++ b/example/thread-pool/psi.c
@@ -615,7 +615,7 @@ handle_transform(TSCont contp)
   TSVIO input_vio;
   ContData *data;
   TSIOBufferReader input_reader;
-  int toread, avail, psi, toconsume, towrite = 0;
+  int toread, avail, psi, toconsume = 0, towrite = 0;
 
   /* Get the output (downstream) vconnection where we'll write data to. */
   output_conn = TSTransformOutputVConnGet(contp);