From: Dave Barach Date: Wed, 17 Apr 2019 14:10:02 +0000 (-0400) Subject: VPP-1649: Coverity warning in http server X-Git-Tag: v20.01-rc0~792 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F74%2F18974%2F2;p=vpp.git VPP-1649: Coverity warning in http server Remove duplicate error check Change-Id: I64463c7f606e198fe8553efea294f0e09bd8dbc3 Signed-off-by: Dave Barach --- 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);