OSDN Git Service

Removed function, not called anywhere, that was inadvertently left in the changes...
authorEric Branlund <ebranlund@fastmail.com>
Wed, 26 Feb 2020 08:26:28 +0000 (00:26 -0800)
committerEric Branlund <ebranlund@fastmail.com>
Wed, 26 Feb 2020 08:26:28 +0000 (00:26 -0800)
src/main-cocoa.m

index 86efd04..da66f78 100644 (file)
@@ -146,17 +146,6 @@ static bool new_game = FALSE;
 
 @end
 
-/**
- * This is a helper function for AngbandSoundCatalog's sharedSounds and
- * clearSharedSounds.  Implement a Singleton pattern.
- */
-static __strong AngbandSoundCatalog** get_shared_sounds(void)
-{
-    static __strong AngbandSoundCatalog* catalog = nil;
-
-    return &catalog;
-}
-
 @implementation AngbandSoundCatalog
 
 - (id)init {