silence compiler warnings

Signed-off-by: Serge Hallyn <shallyn@cisco.com>
This commit is contained in:
Serge Hallyn
2020-01-12 07:31:26 -06:00
parent 5a6ddf3b57
commit 9f7f3b013e
2 changed files with 5 additions and 6 deletions

View File

@@ -7,7 +7,6 @@
static bool path_exists(const char *p)
{
int ret;
struct stat sb;
return stat(p, &sb) == 0;