VPP-1649: Coverity warning in http server 74/18974/2
authorDave Barach <dave@barachs.net>
Wed, 17 Apr 2019 14:10:02 +0000 (10:10 -0400)
committerDave Wallace <dwallacelf@gmail.com>
Wed, 17 Apr 2019 17:14:48 +0000 (17:14 +0000)
Remove duplicate error check

Change-Id: I64463c7f606e198fe8553efea294f0e09bd8dbc3
Signed-off-by: Dave Barach <dave@barachs.net>
src/plugins/http_static/http_static_test.c

index 0a24ce5..59cc5f1 100644 (file)
@@ -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);