http_static: fix coverity warning