Tidy some warning suppression cleanups

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23129 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2006-07-05 07:05:03 +00:00
parent 65b175b904
commit d22941ed47
3 changed files with 8 additions and 7 deletions

View file

@ -248,7 +248,7 @@ typedef enum
[aDecoder decodeValueOfObjCType: @encode(int)
at: &_selectionType];
[aDecoder decodeValueOfObjCType: @encode(id)
at: obj];
at: &obj];
ASSIGN(_descriptionData, obj);
}

View file

@ -723,9 +723,10 @@ that makes decoding and encoding compatible with the old code.
if ([aDecoder containsValueForKey: @"NSSharedData"])
{
NSTextViewSharedData *shared;
unsigned int flags = [shared flags];
unsigned int flags;
shared = [aDecoder decodeObjectForKey: @"NSSharedData"];
flags = [shared flags];
ASSIGN(_insertionPointColor, [shared insertionColor]);
ASSIGN(_backgroundColor, [shared backgroundColor]);