diff --git a/ffserver.c b/ffserver.c
index 40df9faeb840c4a4a30a51b7c5952483ae6b1c92..0c293e6065dae643b7362cbbf6125872684e7fe6 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -4416,7 +4416,6 @@ static int parse_ffconfig(const char *filename)
         } else {
             fprintf(stderr, "%s:%d: Incorrect keyword: '%s'\n",
                     filename, line_num, cmd);
-            errors++;
         }
     }