summaryrefslogtreecommitdiff
path: root/src/i_sdlmusic.c
diff options
context:
space:
mode:
authorFabian Greffrath2015-05-08 09:11:23 +0200
committerFabian Greffrath2015-05-08 09:11:23 +0200
commitf1050ee4fead9f47471f25dc10650dad3bf68220 (patch)
treef93e4e2d75cbab3eca3bd0b0543058f5ebf41267 /src/i_sdlmusic.c
parent5b423fcfc1ba0774b10c566a63b9e14c3c02409c (diff)
downloadchocolate-doom-f1050ee4fead9f47471f25dc10650dad3bf68220.tar.gz
chocolate-doom-f1050ee4fead9f47471f25dc10650dad3bf68220.tar.bz2
chocolate-doom-f1050ee4fead9f47471f25dc10650dad3bf68220.zip
warnings: fix "variable ‘..’ set but not used" warnings
Fixed by commenting out the reported variables and their settings instead of removing them. Since I am not sure if they were added by mistake or by purpose and then overseen, I think it's better to keep them in the code but not compile them in for now.
Diffstat (limited to 'src/i_sdlmusic.c')
-rw-r--r--src/i_sdlmusic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i_sdlmusic.c b/src/i_sdlmusic.c
index 6acb528f..80bc49ab 100644
--- a/src/i_sdlmusic.c
+++ b/src/i_sdlmusic.c
@@ -633,7 +633,7 @@ static boolean ReadSubstituteConfig(char *filename)
FILE *fs;
char *error;
int linenum = 1;
- int old_subst_music_len;
+// int old_subst_music_len;
fs = fopen(filename, "r");
@@ -642,7 +642,7 @@ static boolean ReadSubstituteConfig(char *filename)
return false;
}
- old_subst_music_len = subst_music_len;
+// old_subst_music_len = subst_music_len;
while (!feof(fs))
{