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:
parent
a30d8bd653
commit
16b7b53ad0
|
@ -997,8 +997,6 @@ svnversion_init(void)
|
||||||
}
|
}
|
||||||
else if (istag || strncmp(br_start, "branches", 8) == 0) {
|
else if (istag || strncmp(br_start, "branches", 8) == 0) {
|
||||||
len = br_end2 - br_start;
|
len = br_end2 - br_start;
|
||||||
assert(len >= 13);
|
|
||||||
assert(len < (sizeof(patchlevel_revision) - 13));
|
|
||||||
strncpy(branch, br_start, len);
|
strncpy(branch, br_start, len);
|
||||||
branch[len] = '\0';
|
branch[len] = '\0';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue