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 2015/01/22 18:08:50 UTC

trafficserver git commit: Remove superfluous assert. 'this' is always a valid pointer.

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 <so...@apache.org>
Authored: Thu Jan 22 10:07:42 2015 -0700
Committer: Phil Sorber <so...@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();