You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2014/01/03 18:18:49 UTC

[18/50] git commit: Fix unused variable warnings from malloc_from_chunk()

Fix unused variable warnings from malloc_from_chunk()

Signed-off-by: Yunkai Zhang <qi...@taobao.com>


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

Branch: refs/heads/5.0.x
Commit: a47781759e9c52e7e304d30ddfefae853b35a05f
Parents: 6f810cd
Author: Yunkai Zhang <qi...@taobao.com>
Authored: Sat Dec 28 16:11:10 2013 +0800
Committer: Yunkai Zhang <qi...@taobao.com>
Committed: Sat Dec 28 16:24:02 2013 +0800

----------------------------------------------------------------------
 lib/ts/ink_queue_ext.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a4778175/lib/ts/ink_queue_ext.cc
----------------------------------------------------------------------
diff --git a/lib/ts/ink_queue_ext.cc b/lib/ts/ink_queue_ext.cc
index aff1eb4..b34ecc8 100644
--- a/lib/ts/ink_queue_ext.cc
+++ b/lib/ts/ink_queue_ext.cc
@@ -389,7 +389,8 @@ malloc_whole_chunk(InkFreeList *f, InkThreadCache *pCache, InkChunkInfo *pChunk)
 }
 
 static inline void *
-malloc_from_chunk(InkFreeList *f, InkThreadCache *pCache, InkChunkInfo *pChunk)
+malloc_from_chunk(InkFreeList * /* f ATS_UNUSED */,
+                  InkThreadCache *pCache, InkChunkInfo *pChunk)
 {
   void *item;