From ef22fd54597f7d916d5c1346a6d9c00ddf9cf10b Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Thu, 11 Feb 2021 11:00:30 +0100 Subject: [PATCH] fix --- sink/sink20169.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sink/sink20169.c b/sink/sink20169.c index 93e8384..1df95e9 100644 --- a/sink/sink20169.c +++ b/sink/sink20169.c @@ -308,7 +308,8 @@ int main(int argc, char **argv) { char *configFilename = DEFAULT_CONFIG_FILENAME; - while ((int c = getopt(argc, argv, "f:")) != -1) { + int c; + while ((c = getopt(argc, argv, "f:")) != -1) { switch (c) { case 'f': configFilename = strdup(optarg);