Commit f6c6980f authored by marko's avatar marko

branches/zip: ut_fold_binary(): Adjust a bogus debug assertion.

parent 3dfa0568
...@@ -209,7 +209,7 @@ ut_fold_binary( ...@@ -209,7 +209,7 @@ ut_fold_binary(
const byte* str_end = str + len; const byte* str_end = str + len;
ulint fold = 0; ulint fold = 0;
ut_ad(str); ut_ad(str || !len);
while (str < str_end) { while (str < str_end) {
fold = ut_fold_ulint_pair(fold, (ulint)(*str)); fold = ut_fold_ulint_pair(fold, (ulint)(*str));
......
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