Fix a bug in OS X 32-bit code.

Get rid of an unused ivar, as pointed out by Clang.
Adding a comment about a false positive in Clang's static analyzer.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85933 e17a0e51-4ae3-4d35-97c3-1a29b211df97
This commit is contained in:
SND\MaddTheSane_cp 2013-07-09 08:15:43 +00:00
parent b797c32f08
commit 59fabe735c
4 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ extern NSString *const memCardChangeNumberKey;
- (IBAction)setVideoType:(id)sender;
- (NSString *)keyForSender:(id)sender;
+ (void)setMemoryCard:(int)theCard toPath:(NSString *)theFile DEPRECATED_ATTRIBUTE;
+ (void)setMemoryCard:(int)theCard toPath:(NSString *)theFile;
+ (void)setMemoryCard:(int)theCard toURL:(NSURL *)theURL;
+ (void)mcdNewClicked:(id)sender;

View File

@ -27,7 +27,7 @@
if (_theBlock == theBlock) {
return;
}
dispatch_block_t tmpBlock = _theBlock
dispatch_block_t tmpBlock = _theBlock;
_theBlock = [theBlock copy];
[tmpBlock release];
#endif

View File

@ -14,7 +14,6 @@
@private
NSArray *rawArray;
int cardNumber;
NSURL *fileURL;
}
- (id)initWithMemoryCardNumber:(int)carNum;

View File

@ -235,6 +235,7 @@ const static int typeList[] = {PSE_LT_GPU, PSE_LT_SPU, PSE_LT_CDR, PSE_LT_PAD, P
// stop the old plugin and start the new one
if (pluginPtr) {
[pluginPtr shutdownAs:type];
//NOTE: We can ignore Clang's "Incorrect Decrement" here
RELEASEOBJ(pluginPtr);
}