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 2015/01/15 17:38:35 UTC

trafficserver git commit: TS-3297: remove dead store

Repository: trafficserver
Updated Branches:
  refs/heads/master 70cc2d4ce -> be1c8584e


TS-3297: remove dead store


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

Branch: refs/heads/master
Commit: be1c8584edc8dd4eb733c2e8c75dfc9fff2fd6f6
Parents: 70cc2d4
Author: James Peach <jp...@apache.org>
Authored: Thu Jan 15 08:38:08 2015 -0800
Committer: James Peach <jp...@apache.org>
Committed: Thu Jan 15 08:38:08 2015 -0800

----------------------------------------------------------------------
 lib/ts/MatcherUtils.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/be1c8584/lib/ts/MatcherUtils.cc
----------------------------------------------------------------------
diff --git a/lib/ts/MatcherUtils.cc b/lib/ts/MatcherUtils.cc
index 1a47f4c..a3ef2af 100644
--- a/lib/ts/MatcherUtils.cc
+++ b/lib/ts/MatcherUtils.cc
@@ -43,7 +43,7 @@ config_parse_error::config_parse_error(const char * fmt, ...)
   this->msg = (char *)ats_malloc(num + 1);
 
   va_start(ap, fmt);
-  num = vsnprintf(&this->msg[0], num + 1, fmt, ap);
+  vsnprintf(&this->msg[0], num + 1, fmt, ap);
   va_end(ap);
 }