Browse Source

Remove unnecessary assert

Approved by: Heikki, over IM
pull/73/head
michael 17 years ago
parent
commit
a81e8ca892
  1. 9
      include/ut0rnd.ic

9
include/ut0rnd.ic

@ -175,20 +175,11 @@ ut_fold_string(
/* out: folded value */
const char* str) /* in: null-terminated string */
{
#ifdef UNIV_DEBUG
ulint i = 0;
#endif
ulint fold = 0;
ut_ad(str);
while (*str != '\0') {
#ifdef UNIV_DEBUG
i++;
ut_a(i < 100);
#endif
fold = ut_fold_ulint_pair(fold, (ulint)(*str));
str++;
}

Loading…
Cancel
Save