SF #1701207: svnversion_init assertion failed

Revert bogus asserts (added to the wrong place) from rev 52501.

Approved by Anthony.
This commit is contained in:
Neal Norwitz 2007-04-16 06:12:02 +00:00
parent a30d8bd653
commit 16b7b53ad0
1 changed files with 0 additions and 2 deletions

View File

@ -997,8 +997,6 @@ svnversion_init(void)
}
else if (istag || strncmp(br_start, "branches", 8) == 0) {
len = br_end2 - br_start;
assert(len >= 13);
assert(len < (sizeof(patchlevel_revision) - 13));
strncpy(branch, br_start, len);
branch[len] = '\0';