trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jrushf...@apache.org
Subject trafficserver git commit: TS-4133: fix coverity scan issue, dead code in url_sig.c
Date Wed, 23 Mar 2016 15:11:50 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 679602185 -> 8607bb073


TS-4133: fix coverity scan issue, dead code in url_sig.c


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

Branch: refs/heads/master
Commit: 8607bb07354d23e0ba5e95b8b5b01664e0058b6e
Parents: 6796021
Author: John J. Rushford <John_Rushford@cable.comcast.com>
Authored: Wed Mar 23 15:10:46 2016 +0000
Committer: John J. Rushford <John_Rushford@cable.comcast.com>
Committed: Wed Mar 23 15:10:46 2016 +0000

----------------------------------------------------------------------
 plugins/experimental/url_sig/url_sig.c | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8607bb07/plugins/experimental/url_sig/url_sig.c
----------------------------------------------------------------------
diff --git a/plugins/experimental/url_sig/url_sig.c b/plugins/experimental/url_sig/url_sig.c
index 70a3f00..605f7ef 100644
--- a/plugins/experimental/url_sig/url_sig.c
+++ b/plugins/experimental/url_sig/url_sig.c
@@ -263,9 +263,6 @@ getAppQueryString(char *query_string, int query_length)
   p = buf;
 
   TSDebug(PLUGIN_NAME, "query_string: %s, query_length: %d", query_string, query_length);
-  if (p == NULL) {
-    return NULL;
-  }
 
   do {
     switch (*p) {


Mime
View raw message