commit cdb45118e2da0b82aede6b61a4fe84fb10c99619
parent 814a994e99a5ca22b3fbfa6d4aef1cc1453469a8
Author: Joris Vink <joris@coders.se>
Date: Wed, 9 Sep 2020 22:22:54 +0200
kill unused variable
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/kore.c b/src/kore.c
@@ -157,7 +157,6 @@ int
main(int argc, char *argv[])
{
struct kore_runtime_call *rcall;
- int flags;
#if !defined(KORE_SINGLE_BINARY)
int ch;
#endif
@@ -165,14 +164,11 @@ main(int argc, char *argv[])
struct stat st;
#endif
- flags = 0;
-
kore_argc = argc;
kore_argv = argv;
#if !defined(KORE_SINGLE_BINARY)
while ((ch = getopt(argc, argv, "c:dfhnqrv")) != -1) {
- flags++;
switch (ch) {
case 'c':
free(config_file);