Repository: trafficserver
Updated Branches:
  refs/heads/master 90432575b -> fe4ee3664


TS-3928: Fix clang-analyzer


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

Branch: refs/heads/master
Commit: fe4ee366475295cc57b58d6d667fde716f2677bf
Parents: 9043257
Author: Phil Sorber <[email protected]>
Authored: Mon Sep 21 16:14:06 2015 -0600
Committer: Phil Sorber <[email protected]>
Committed: Mon Sep 21 16:14:06 2015 -0600

----------------------------------------------------------------------
 proxy/http/remap/RemapConfig.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/fe4ee366/proxy/http/remap/RemapConfig.cc
----------------------------------------------------------------------
diff --git a/proxy/http/remap/RemapConfig.cc b/proxy/http/remap/RemapConfig.cc
index 7715282..4a0e850 100644
--- a/proxy/http/remap/RemapConfig.cc
+++ b/proxy/http/remap/RemapConfig.cc
@@ -855,10 +855,10 @@ remap_load_plugin(const char **argv, int argc, 
url_mapping *mp, char *errbuf, in
     Debug("url_rewrite", "Argument %d: %s", k, parv[k]);
   }
 
-  void *ih;
 
   Debug("remap_plugin", "creating new plugin instance");
 
+  void *ih = NULL;
   TSReturnCode res = TS_SUCCESS;
   if (pi->fp_tsremap_new_instance) {
     res = pi->fp_tsremap_new_instance(parc, parv, &ih, tmpbuf, sizeof(tmpbuf) 
- 1);

Reply via email to