mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 20:00:38 +00:00
Remove dead assignments found by static code analysis.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32022 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f48dfb5072
commit
475f2d07aa
15 changed files with 44 additions and 42 deletions
|
@ -1448,14 +1448,17 @@ Fallback for backends other than Cairo. */
|
|||
{
|
||||
NSImageRep* rep;
|
||||
NSMutableArray *breps;
|
||||
NSSize dres;
|
||||
NSEnumerator *enumerator = [reps objectEnumerator];
|
||||
|
||||
/*
|
||||
NSSize dres;
|
||||
NSValue *resolution = [deviceDescription objectForKey: NSDeviceResolution];
|
||||
|
||||
if (resolution)
|
||||
dres = [resolution sizeValue];
|
||||
else
|
||||
dres = NSMakeSize(0, 0);
|
||||
*/
|
||||
|
||||
breps = [NSMutableArray array];
|
||||
while ((rep = [enumerator nextObject]) != nil)
|
||||
|
@ -1757,10 +1760,8 @@ Fallback for backends other than Cairo. */
|
|||
}
|
||||
if ([coder containsValueForKey: @"NSImageFlags"])
|
||||
{
|
||||
int flags;
|
||||
|
||||
//FIXME
|
||||
flags = [coder decodeIntForKey: @"NSImageFlags"];
|
||||
//int flags = [coder decodeIntForKey: @"NSImageFlags"];
|
||||
}
|
||||
if ([coder containsValueForKey: @"NSReps"])
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue