diff music2/music.cc @ 43:01aa5ddf7dc8

A lot of very minor improvements (deleted some unused variables, and other things like that...)
author thib
date Tue, 24 Mar 2009 19:45:48 +0000
parents f88d47a4bf87
children 15a18fbe6f21
line wrap: on
line diff
--- a/music2/music.cc
+++ b/music2/music.cc
@@ -333,7 +333,6 @@ AvgKoeInfo OpenKoeFile(const char* path)
 }
 
 static SDL_RWops* OpenSDLRW(const char* path) {
-	char cmdline_buf[1024];
 	/* まず wav ファイルを探す */
 	ARCINFO* info = file_searcher.Find(FILESEARCH::WAV,path,".wav");
 	if (info == 0) {
@@ -341,7 +340,6 @@ static SDL_RWops* OpenSDLRW(const char* 
 		if (info == 0) info = file_searcher.Find(FILESEARCH::BGM,path,"nwa");
 		if (info) { // read NWA file
 
-			static char* nwa_buffer = 0;
 			int dummy;
 			FILE* f = info->OpenFile(&dummy);
 			static char* d = 0;
@@ -365,7 +363,6 @@ static SDL_RWops* OpenSDLRW(const char* 
 }
 
 static WAVFILE* OpenWaveFile(const char* path) {
-	char cmdline_buf[1024];
 	/* まず wav ファイルを探す */
 	ARCINFO* info = file_searcher.Find(FILESEARCH::WAV,path,".wav");
 	if (info == 0) info = file_searcher.Find(FILESEARCH::BGM,path,"wav");