removed useless len recalculation

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31341 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rmottola 2010-09-12 23:30:37 +00:00
parent 6e69e9a8e8
commit 4cad874f10
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,7 @@
2010-09-12 Riccardo Mottola
* Source/GSAttributedString: Removed dead assignments and unused variable attrs.
* Source/GSAttributedString.m: Removed dead assignments and unused variable attrs.
* Source/GSFormant.m: Removed useless len recalculation.
2010-09-12 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -1861,7 +1861,6 @@ NSDictionary *locale)
NSString into a unicode string. */
NSRange r;
len = [dsc length];
if (prec >= 0 && prec < (int)len) len = prec;
/* Allocate dynamically an array which definitely is long