trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sor...@apache.org
Subject trafficserver git commit: TS-3122: Remove dead assignments per clang-analyzer
Date Mon, 08 Jun 2015 17:12:01 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master f82e4f488 -> 109d7bc62


TS-3122: Remove dead assignments per clang-analyzer


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

Branch: refs/heads/master
Commit: 109d7bc62dcfd58e6cdc0d2ee03e114827735d03
Parents: f82e4f4
Author: Phil Sorber <sorber@apache.org>
Authored: Mon Jun 8 11:11:36 2015 -0600
Committer: Phil Sorber <sorber@apache.org>
Committed: Mon Jun 8 11:11:36 2015 -0600

----------------------------------------------------------------------
 iocore/cache/CacheDir.cc | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/109d7bc6/iocore/cache/CacheDir.cc
----------------------------------------------------------------------
diff --git a/iocore/cache/CacheDir.cc b/iocore/cache/CacheDir.cc
index e0f20d3..529752e 100644
--- a/iocore/cache/CacheDir.cc
+++ b/iocore/cache/CacheDir.cc
@@ -1123,9 +1123,7 @@ sync_cache_dir_on_shutdown(void)
       ats_free_hugepage(buf, buflen);
     else
       ats_memalign_free(buf);
-    buflen = 0;
     buf = NULL;
-    buf_huge = false;
   }
 }
 


Mime
View raw message