diff options
author | Geoff Levand <geoff@infradead.org> | 2012-03-16 22:19:44 -0700 |
---|---|---|
committer | Geoff Levand <geoff@infradead.org> | 2012-03-16 22:19:44 -0700 |
commit | 1f03bc43719c4cc787d5b7d3a756c532d39bfc26 (patch) | |
tree | d5f02e231e502c797c9fc15044f50d954808f4c0 | |
parent | 7c5e552c210b38a06ed9fbb99418b62e20978666 (diff) | |
download | talos-petitboot-1f03bc43719c4cc787d5b7d3a756c532d39bfc26.tar.gz talos-petitboot-1f03bc43719c4cc787d5b7d3a756c532d39bfc26.zip |
Fix build error in parser-test
Signed-off-by: Geoff Levand <geoff@infradead.org>
-rw-r--r-- | test/parser-test.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/parser-test.c b/test/parser-test.c index c88fc6c..90b3e3b 100644 --- a/test/parser-test.c +++ b/test/parser-test.c @@ -46,7 +46,6 @@ enum generic_icon_type guess_device_type( int main(int argc, char **argv) { struct discover_context *ctx; - int rc; if (argc != 3) { fprintf(stderr, "usage: %s <basedir> <devname>\n", argv[0]); @@ -67,7 +66,7 @@ int main(int argc, char **argv) ctx->device = talloc_zero(ctx, struct device); ctx->device->id = talloc_strdup(ctx->device, argv[2]); - rc = iterate_parsers(ctx); + iterate_parsers(ctx); pb_log("--- end ---\n"); |