projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c5e552
)
Fix build error in parser-test
author
Geoff Levand
<geoff@infradead.org>
Sat, 17 Mar 2012 05:19:44 +0000
(22:19 -0700)
committer
Geoff Levand
<geoff@infradead.org>
Sat, 17 Mar 2012 05:19:44 +0000
(22:19 -0700)
Signed-off-by: Geoff Levand <geoff@infradead.org>
test/parser-test.c
patch
|
blob
|
history
diff --git
a/test/parser-test.c
b/test/parser-test.c
index c88fc6c371765f7eb192c5da148719ac5e295ab1..90b3e3b8e8693a9960b3ef5ed6d13854a677f98f 100644
(file)
--- 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");