Commit de42c0d5 authored by Neal Norwitz's avatar Neal Norwitz

SF #1701207: svnversion_init assertion failed

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

Approved by Anthony.
parent 37068851
......@@ -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';
......
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