Minor change to remove unnecessary mutable objects
These are no longer being manipulated, so remove their mutable state. Signed-off-by: Christopher Snowhill <kode54@gmail.com>CQTexperiment
parent
e695e33537
commit
69c4cb3c16
|
@ -353,8 +353,8 @@
|
||||||
BOOL pathsEqual = NO;
|
BOOL pathsEqual = NO;
|
||||||
|
|
||||||
if([nextStream isFileURL] && [[lastChain streamURL] isFileURL]) {
|
if([nextStream isFileURL] && [[lastChain streamURL] isFileURL]) {
|
||||||
NSMutableString *unixPathNext = [[nextStream path] mutableCopy];
|
NSString *unixPathNext = [nextStream path];
|
||||||
NSMutableString *unixPathPrev = [[[lastChain streamURL] path] mutableCopy];
|
NSString *unixPathPrev = [[lastChain streamURL] path];
|
||||||
|
|
||||||
if([unixPathNext isEqualToString:unixPathPrev])
|
if([unixPathNext isEqualToString:unixPathPrev])
|
||||||
pathsEqual = YES;
|
pathsEqual = YES;
|
||||||
|
|
Loading…
Reference in New Issue