Skip to content

Commit 312ae5f

Browse files
committed
• Just fixed two unrelated little bugs.
1 parent c768db3 commit 312ae5f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

FirefoxPrefsParser.m

+4-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ + (NSInteger)integerValueFromFirefoxPrefs:(NSString*)prefs
8282
[scanner scanUpToCharactersFromSet:delimiters
8383
intoString:NULL] ;
8484
if ([scanner isAtEnd]) {
85-
ok = NO ;
8685
break ;
8786
}
8887
[scanner scanCharactersFromSet:delimiters
@@ -166,6 +165,10 @@ + (NSInteger)integerValueFromFirefoxPrefs:(NSString*)prefs
166165
}
167166
}
168167
}
168+
169+
#if !__has_feature(objc_arc)
170+
[scanner release] ;
171+
#endif
169172

170173
return answer ;
171174
}

SSYFirefoxProfiler.h

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
name, and resolving the profile folder path indicated by this entry.
2121
2222
This method performs the inverse of -profileNameForPath:error_p:.
23+
24+
@param homePath If nil, defaults to the current user's home path
2325
*/
2426
+ (NSString*)pathForProfileName:(NSString*)profileName
2527
homePath:(NSString*)homePath

0 commit comments

Comments
 (0)