aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-04-17 10:10:02 -0400
committerDave Wallace <dwallacelf@gmail.com>2019-04-17 17:14:48 +0000
commit4bdfd59a873dec469896f3848235aa783270a93e (patch)
treeca2acc4ee4870c173a6938325751170d3a2931a2
parenta1f9ee8ea6b7e22a45d7b0cbf631bea3f91864b4 (diff)
VPP-1649: Coverity warning in http server
Remove duplicate error check Change-Id: I64463c7f606e198fe8553efea294f0e09bd8dbc3 Signed-off-by: Dave Barach <dave@barachs.net>
-rw-r--r--src/plugins/http_static/http_static_test.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/http_static/http_static_test.c b/src/plugins/http_static/http_static_test.c
index 0a24ce55d6a..59cc5f1b29f 100644
--- a/src/plugins/http_static/http_static_test.c
+++ b/src/plugins/http_static/http_static_test.c
@@ -148,12 +148,6 @@ api_http_static_enable (vat_main_t * vam)
return -99;
}
- if (www_root == 0)
- {
- errmsg ("Must specify www-root");
- return -99;
- }
-
if (uri == 0)
uri = format (0, "tcp://0.0.0.0/80%c", 0);