mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-24 01:11:01 +00:00
Initialize range in the aRange.length==0 case.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18335 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ab0bebf555
commit
45b685d011
1 changed files with 1 additions and 0 deletions
|
@ -320,6 +320,7 @@ _setAttributesFrom(
|
|||
if (aRange.length == 0)
|
||||
{
|
||||
attr = blank;
|
||||
range = aRange; /* Set to satisfy the loop condition below. */
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue