diff src/audio/sdlgenaudiocvt.pl @ 2955:2692999d5271

Avoid unnecessary assignment in generated audio type converters.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 02 Jan 2009 07:34:01 +0000
parents 99210400e8b9
children 1210d5a28e16
line wrap: on
line diff
--- a/src/audio/sdlgenaudiocvt.pl	Fri Jan 02 04:35:52 2009 +0000
+++ b/src/audio/sdlgenaudiocvt.pl	Fri Jan 02 07:34:01 2009 +0000
@@ -252,9 +252,8 @@
         }
 
         print <<EOF;
-    format = AUDIO_$to;
     if (cvt->filters[++cvt->filter_index]) {
-        cvt->filters[cvt->filter_index] (cvt, format);
+        cvt->filters[cvt->filter_index] (cvt, AUDIO_$to);
     }
 }