openalbridge/loaders.c
changeset 2210 1cb7118a77dd
parent 2200 8192be6e3aef
child 2212 6b5da1a2765a
--- a/openalbridge/loaders.c	Mon Jun 29 00:58:32 2009 +0000
+++ b/openalbridge/loaders.c	Mon Jun 29 03:47:39 2009 +0000
@@ -136,10 +136,13 @@
 		FILE			*oggFile;		// ogg handle
 		OggVorbis_File  oggStream;		// stream handle
 		vorbis_info		*vorbisInfo;	// some formatting data
-		vorbis_comment	*vorbisComment;	// other less useful data
 		int64_t			pcm_length;		// length of the decoded data
 		int size = 0;
-		int section, result, i;
+		int section, result;
+#ifdef DEBUG
+		int i;
+		vorbis_comment	*vorbisComment;	// other less useful data
+#endif
 		
 		oggFile = Fopen(filename, "rb");
 		result = ov_open(oggFile, &oggStream, NULL, 0);