trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sor...@apache.org
Subject trafficserver git commit: Remove superfluous assert. 'this' is always a valid pointer.
Date Thu, 22 Jan 2015 17:08:50 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 497e4755d -> 270694446


Remove superfluous assert. 'this' is always a valid pointer.


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

Branch: refs/heads/master
Commit: 270694446156ce9e6e79330fe0ee3a42aac7b5cd
Parents: 497e475
Author: Phil Sorber <sorber@apache.org>
Authored: Thu Jan 22 10:07:42 2015 -0700
Committer: Phil Sorber <sorber@apache.org>
Committed: Thu Jan 22 10:07:58 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/27069444/iocore/cache/Cache.cc
----------------------------------------------------------------------
diff --git a/iocore/cache/Cache.cc b/iocore/cache/Cache.cc
index fd99aa7..cb2dde6 100644
--- a/iocore/cache/Cache.cc
+++ b/iocore/cache/Cache.cc
@@ -2905,8 +2905,6 @@ Cache::remove(Continuation *cont, CacheKey *key, CacheFragType type,
bool /* use
     return ACTION_RESULT_DONE;
   }
 
-  ink_assert(this);
-
   Ptr<ProxyMutex> mutex;
   if (!cont)
     cont = new_CacheRemoveCont();


Mime
View raw message