mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
avoid unused variable warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28362 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
745ca3f62b
commit
366f2eeca1
1 changed files with 4 additions and 3 deletions
|
@ -392,7 +392,6 @@ static NSStringEncoding defaultEncoding;
|
|||
- (BOOL) changeFileAttributes: (NSDictionary*)attributes atPath: (NSString*)path
|
||||
{
|
||||
const _CHAR *lpath = 0;
|
||||
NSNumber *tmpNum;
|
||||
unsigned long num;
|
||||
NSString *str;
|
||||
NSDate *date;
|
||||
|
@ -411,7 +410,8 @@ static NSStringEncoding defaultEncoding;
|
|||
}
|
||||
else
|
||||
{
|
||||
tmpNum = [attributes fileOwnerAccountID];
|
||||
NSNumber *tmpNum = [attributes fileOwnerAccountID];
|
||||
|
||||
num = tmpNum ? [tmpNum unsignedLongValue] : NSNotFound;
|
||||
}
|
||||
if (num != NSNotFound)
|
||||
|
@ -474,7 +474,8 @@ static NSStringEncoding defaultEncoding;
|
|||
}
|
||||
else
|
||||
{
|
||||
tmpNum = [attributes fileGroupOwnerAccountID];
|
||||
NSNumber *tmpNum = [attributes fileGroupOwnerAccountID];
|
||||
|
||||
num = tmpNum ? [tmpNum unsignedLongValue] : NSNotFound;
|
||||
}
|
||||
if (num != NSNotFound)
|
||||
|
|
Loading…
Reference in a new issue