Skip to content

Commit

Permalink
Removed to Xcode 4 warnings, does not do anything to the meaning of t…
Browse files Browse the repository at this point in the history
…he code.
  • Loading branch information
Morten Bøgh committed Apr 18, 2011
1 parent ad03cf4 commit d8ed307
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion HJCacheClasses/HJMOFileCache.m
Expand Up @@ -204,7 +204,7 @@ -(void)trimCacheDir:(NSString*)cachePath {
int deletedCount=0;
long deletedBytes=0;
// this loop is the slow part, which is why this whole method is run on a separate thread.
while (file = [dirEnum nextObject]) {
while ((file = [dirEnum nextObject])) {
NSString* filename = [NSString stringWithFormat:@"%@%@",cachePath,file];
NSError* e;
NSDictionary* fsAttributes = [[NSFileManager defaultManager] attributesOfItemAtPath:filename error:&e];
Expand Down
3 changes: 2 additions & 1 deletion HJCacheClasses/HJManagedImageV.m
Expand Up @@ -26,7 +26,8 @@ @implementation HJManagedImageV


- (id)initWithFrame:(CGRect)frame {
if (self = [super initWithFrame:frame]) {
self = [super initWithFrame:frame];
if (self) {
isCancelled=NO;
modification=0;
url=nil;
Expand Down

0 comments on commit d8ed307

Please sign in to comment.