SOURCES: ladspa-cmt-plugins-compile.patch (NEW) - cc1plus: warning...

sls sls at pld-linux.org
Sun Jun 17 22:30:52 CEST 2007


Author: sls                          Date: Sun Jun 17 20:30:52 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- cc1plus: warnings being treated as errors
  analogue.cpp: In static member function 'static void Analogue::run(void*, long unsigned int)':
  analogue.cpp:259: warning: 'a' may be used uninitialized in this function
  (I feel confused by this warning and patch)

---- Files affected:
SOURCES:
   ladspa-cmt-plugins-compile.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/ladspa-cmt-plugins-compile.patch
diff -u /dev/null SOURCES/ladspa-cmt-plugins-compile.patch:1.1
--- /dev/null	Sun Jun 17 22:30:52 2007
+++ SOURCES/ladspa-cmt-plugins-compile.patch	Sun Jun 17 22:30:47 2007
@@ -0,0 +1,11 @@
+--- cmt/src/analogue.cpp.orig	2007-06-17 16:33:31.000000000 +0000
++++ cmt/src/analogue.cpp	2007-06-17 16:37:32.000000000 +0000
+@@ -256,7 +256,7 @@
+     LADSPA_Data attack1, decay1, release1;
+     LADSPA_Data attack2, decay2, release2;
+     LADSPA_Data filt_attack, filt_decay, filt_release;
+-    LADSPA_Data lfo_fadein, a, b, c;
++    LADSPA_Data lfo_fadein, a = 0, b = 0, c = 0;
+     LADSPA_Data dco1_pwm, dco2_pwm;
+     LADSPA_Data dco1_fm, dco2_fm;
+     LADSPA_Data filt_lfo_mod;
================================================================


More information about the pld-cvs-commit mailing list