]> git.pld-linux.org Git - packages/ladspa-cmt-plugins.git/commitdiff
- cc1plus: warnings being treated as errors
authorSzymon Siwek <sls@pld-linux.org>
Sun, 17 Jun 2007 20:30:47 +0000 (20:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  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)

Changed files:
    ladspa-cmt-plugins-compile.patch -> 1.1

ladspa-cmt-plugins-compile.patch [new file with mode: 0644]

diff --git a/ladspa-cmt-plugins-compile.patch b/ladspa-cmt-plugins-compile.patch
new file mode 100644 (file)
index 0000000..9b5a710
--- /dev/null
@@ -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;
This page took 0.068302 seconds and 4 git commands to generate.