am 6bec0e51: am a5d63956: Merge "Remove an uninitialized value."

* commit '6bec0e51b0974d5646bab925299ea37c221b47e3':
  Remove an uninitialized value.
This commit is contained in:
Dan Albert 2015-01-05 21:58:49 +00:00 committed by Android Git Automerger
commit 1b103c4c0d

View file

@ -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;