Kill off two harmless gcc warnings in vorbisenc.c
authorMonty <xiphmont@xiph.org>
Thu, 25 Mar 2010 05:22:15 +0000 (05:22 +0000)
committerMonty <xiphmont@xiph.org>
Thu, 25 Mar 2010 05:22:15 +0000 (05:22 +0000)
svn path=/trunk/vorbis/; revision=17028

lib/vorbisenc.c

index 1b342bb..428d2aa 100644 (file)
@@ -1186,8 +1186,8 @@ int vorbis_encode_ctl(vorbis_info *vi,int number,void *arg){
       return(0);
     case OV_ECTL_COUPLING_SET:
       {
-        void *new_template;
-        double new_base;
+        const void *new_template;
+        double new_base=0.;
         int *iarg=(int *)arg;
         hi->coupling_p=((*iarg)!=0);