mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 18:50:38 +00:00
Fix invalid return statements between NS_DURING and NS_HANDLER in
Source/NSImage.m. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27643 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9356420853
commit
6e29b26d1c
2 changed files with 10 additions and 3 deletions
|
@ -752,7 +752,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
|
|||
NSCachedImageRep *cache = nil;
|
||||
|
||||
if (rep == nil)
|
||||
return;
|
||||
NS_VOIDRETURN;
|
||||
|
||||
if (([GSCurrentContext() isDrawingToScreen] == YES)
|
||||
&& _cacheMode != NSImageCacheNever)
|
||||
|
@ -823,7 +823,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
|
|||
NSCachedImageRep *cache = nil;
|
||||
|
||||
if (rep == nil)
|
||||
return;
|
||||
NS_VOIDRETURN;
|
||||
|
||||
if (([GSCurrentContext() isDrawingToScreen] == YES)
|
||||
&& _cacheMode != NSImageCacheNever)
|
||||
|
@ -900,7 +900,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
|
|||
NSCachedImageRep *cache = nil;
|
||||
|
||||
if (rep == nil)
|
||||
return;
|
||||
NS_VOIDRETURN;
|
||||
|
||||
if (([GSCurrentContext() isDrawingToScreen] == YES)
|
||||
&& _cacheMode != NSImageCacheNever)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue