diff options
author | Dan Albert <danalbert@google.com> | 2014-12-18 20:50:23 +0100 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-12-18 23:50:08 +0100 |
commit | 7279f97ab492094810a4bc88f81d53b5e8c4bb74 (patch) | |
tree | dc865a1ecc9d3517dd6e4d73c7ac500fb9774be7 /edify | |
parent | Merge "Fix recovery image build for 32p" (diff) | |
download | android_bootable_recovery-7279f97ab492094810a4bc88f81d53b5e8c4bb74.tar android_bootable_recovery-7279f97ab492094810a4bc88f81d53b5e8c4bb74.tar.gz android_bootable_recovery-7279f97ab492094810a4bc88f81d53b5e8c4bb74.tar.bz2 android_bootable_recovery-7279f97ab492094810a4bc88f81d53b5e8c4bb74.tar.lz android_bootable_recovery-7279f97ab492094810a4bc88f81d53b5e8c4bb74.tar.xz android_bootable_recovery-7279f97ab492094810a4bc88f81d53b5e8c4bb74.tar.zst android_bootable_recovery-7279f97ab492094810a4bc88f81d53b5e8c4bb74.zip |
Diffstat (limited to 'edify')
-rw-r--r-- | edify/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/edify/main.c b/edify/main.c index b3fad53b8..b1baa0b13 100644 --- a/edify/main.c +++ b/edify/main.c @@ -25,13 +25,12 @@ extern int yyparse(Expr** root, int* error_count); int expect(const char* expr_str, const char* expected, int* errors) { Expr* e; - int error; char* result; printf("."); int error_count = parse_string(expr_str, &e, &error_count); - if (error > 0 || error_count > 0) { + if (error_count > 0) { printf("error parsing \"%s\" (%d errors)\n", expr_str, error_count); ++*errors; |