diff options
author | midipix <writeonce@midipix.org> | 2015-12-16 02:16:23 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2015-12-16 02:16:23 -0500 |
commit | bbc20f9c01d0a523a6b637f1b154d62cf45e72b1 (patch) | |
tree | 83dd4e4f4ed2ba8e1274b35b01c7d0309221b192 /src/driver | |
parent | fb7de2f3f9eaf09efc83a727957ce74ebd976abb (diff) | |
download | sofort-bbc20f9c01d0a523a6b637f1b154d62cf45e72b1.tar.bz2 sofort-bbc20f9c01d0a523a6b637f1b154d62cf45e72b1.tar.xz |
C headers and source files: mark dummy interfaces and related code.
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/sfrt_driver_ctx.c | 28 |
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; |