From 69c4cb3c160fd1bc2e0efaca8bb822d2d0fc9cb9 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Fri, 11 Feb 2022 05:59:44 -0800 Subject: [PATCH] Minor change to remove unnecessary mutable objects These are no longer being manipulated, so remove their mutable state. Signed-off-by: Christopher Snowhill --- Audio/AudioPlayer.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Audio/AudioPlayer.m b/Audio/AudioPlayer.m index 810d462ef..66dbced7b 100644 --- a/Audio/AudioPlayer.m +++ b/Audio/AudioPlayer.m @@ -353,8 +353,8 @@ BOOL pathsEqual = NO; if([nextStream isFileURL] && [[lastChain streamURL] isFileURL]) { - NSMutableString *unixPathNext = [[nextStream path] mutableCopy]; - NSMutableString *unixPathPrev = [[[lastChain streamURL] path] mutableCopy]; + NSString *unixPathNext = [nextStream path]; + NSString *unixPathPrev = [[lastChain streamURL] path]; if([unixPathNext isEqualToString:unixPathPrev]) pathsEqual = YES;