Commit 339f752e authored by marko's avatar marko

branches/zip: trx_undo_update_rec_get_update(): Silence a bogus GCC warning

about a possibly uninitialized variable.
parent 25939e31
...@@ -977,6 +977,7 @@ trx_undo_update_rec_get_update( ...@@ -977,6 +977,7 @@ trx_undo_update_rec_get_update(
fprintf(stderr, "\n" fprintf(stderr, "\n"
"InnoDB: n_fields = %lu, i = %lu, ptr %p\n", "InnoDB: n_fields = %lu, i = %lu, ptr %p\n",
(ulong) n_fields, (ulong) i, ptr); (ulong) n_fields, (ulong) i, ptr);
*upd = NULL;
return(NULL); return(NULL);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment