trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject trafficserver git commit: Fix uninitialize variable compiler warning.
Date Thu, 20 Nov 2014 15:41:09 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 7b6857a27 -> 79d5a498c


Fix uninitialize variable compiler warning.

This closes #151


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

Branch: refs/heads/master
Commit: 79d5a498cdd3478720ac79ac844aa611a3ef8089
Parents: 7b6857a
Author: shinrich <shinrich@network-geographics.com>
Authored: Thu Nov 20 09:28:33 2014 -0600
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Thu Nov 20 08:39:25 2014 -0700

----------------------------------------------------------------------
 proxy/hdrs/MIME.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/79d5a498/proxy/hdrs/MIME.cc
----------------------------------------------------------------------
diff --git a/proxy/hdrs/MIME.cc b/proxy/hdrs/MIME.cc
index 2736903..952ede3 100644
--- a/proxy/hdrs/MIME.cc
+++ b/proxy/hdrs/MIME.cc
@@ -2489,8 +2489,8 @@ mime_parser_parse(MIMEParser *parser, HdrHeap *heap, MIMEHdrImpl *mh,
const char
   bool line_is_real;
   const char *colon;
   const char *line_c;
-  const char *line_s;
-  const char *line_e;
+  const char *line_s = NULL;
+  const char *line_e = NULL;
   const char *field_name_first;
   const char *field_name_last;
   const char *field_value_first;


Mime
View raw message