You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2013/12/10 21:20:23 UTC
git commit: TS-2426: fix unused variable warnings
Updated Branches:
refs/heads/master 536fb8e01 -> ab57e59fe
TS-2426: fix unused variable warnings
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/ab57e59f
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/ab57e59f
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/ab57e59f
Branch: refs/heads/master
Commit: ab57e59fe645396404831bb9300d51586b570025
Parents: 536fb8e
Author: James Peach <jp...@apache.org>
Authored: Tue Dec 10 12:19:35 2013 -0800
Committer: James Peach <jp...@apache.org>
Committed: Tue Dec 10 12:19:35 2013 -0800
----------------------------------------------------------------------
plugins/experimental/xdebug/xdebug.cc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ab57e59f/plugins/experimental/xdebug/xdebug.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/xdebug/xdebug.cc b/plugins/experimental/xdebug/xdebug.cc
index e33ffa3..b91b126 100644
--- a/plugins/experimental/xdebug/xdebug.cc
+++ b/plugins/experimental/xdebug/xdebug.cc
@@ -30,7 +30,7 @@ static TSCont XInjectHeadersCont = NULL;
// Return the length of a string literal.
template <int N> unsigned
-lengthof(const char (&str)[N]) {
+lengthof(const char (&)[N]) {
return N - 1;
}
@@ -96,7 +96,7 @@ done:
}
static int
-XInjectResponseHeaders(TSCont contp, TSEvent event, void * edata)
+XInjectResponseHeaders(TSCont /* contp */, TSEvent event, void * edata)
{
TSHttpTxn txn = (TSHttpTxn)edata;
intptr_t xheaders = 0;
@@ -126,7 +126,7 @@ done:
// Scan the client request headers and determine which debug headers they
// want in the response.
static int
-XScanRequestHeaders(TSCont contp, TSEvent event, void * edata)
+XScanRequestHeaders(TSCont /* contp */, TSEvent event, void * edata)
{
TSHttpTxn txn = (TSHttpTxn)edata;
intptr_t xheaders = 0;
@@ -191,7 +191,7 @@ done:
}
void
-TSPluginInit(int argc, const char *argv[])
+TSPluginInit(int /* argc */, const char * /*argv */ [])
{
TSPluginRegistrationInfo info;