summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/sfrt_driver_ctx.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/driver/sfrt_driver_ctx.c b/src/driver/sfrt_driver_ctx.c
index 75afd0c..67834c0 100644
--- a/src/driver/sfrt_driver_ctx.c
+++ b/src/driver/sfrt_driver_ctx.c
@@ -92,7 +92,7 @@ int sfrt_get_driver_ctx(
uint64_t dflags;
uint64_t aflags;
const char * program;
- const char * astring;
+ const char * astring; /* dummy */
options = sfrt_default_options;
@@ -102,7 +102,7 @@ int sfrt_get_driver_ctx(
dflags = 0;
aflags = 0;
nunits = 0;
- astring = 0;
+ astring = 0; /* dummy */
program = argv_program_name(argv[0]);
if (!argv[1] && (flags & SFRT_DRIVER_VERBOSITY_USAGE))
@@ -119,17 +119,17 @@ int sfrt_get_driver_ctx(
case TAG_VERSION:
dflags |= SFRT_DRIVER_VERSION;
break;
-
- case TAG_OUTPUT_DUMMY:
- astring = entry->arg;
- break;
-
- case TAG_OUTPUT_PROPERTY:
- if (!(strcmp(entry->arg,"name")))
- aflags |= SFRT_OUTPUT_NAME;
- else if (!(strcmp(entry->arg,"address")))
- aflags |= SFRT_OUTPUT_ADDRESS;
- break;
+/* dummy */
+/* dummy */ case TAG_OUTPUT_DUMMY:
+/* dummy */ astring = entry->arg;
+/* dummy */ break;
+/* dummy */
+/* dummy */ case TAG_OUTPUT_PROPERTY:
+/* dummy */ if (!(strcmp(entry->arg,"name")))
+/* dummy */ aflags |= SFRT_OUTPUT_NAME;
+/* dummy */ else if (!(strcmp(entry->arg,"address")))
+/* dummy */ aflags |= SFRT_OUTPUT_ADDRESS;
+/* dummy */ break;
}
} else
nunits++;
@@ -141,7 +141,7 @@ int sfrt_get_driver_ctx(
ctx->ctx.program = program;
ctx->cctx.drvflags = dflags;
ctx->cctx.actflags = aflags;
- ctx->cctx.anystring = astring;
+ ctx->cctx.anystring = astring; /* dummy */
ctx->ctx.cctx = &ctx->cctx;