audacity/audacity-no_return_in_nonvoid.patch
Takashi Iwai 243a7b88f4 Accepting request 1082615 from home:kill_it:daw
- Use default compiler, upstream has fixed gcc13 build 
- Update VST3SDK to version 3.7.7_build_19:
- Add patches to fix VST3SDK build with gcc13:
  vst3sdk-fix-include-cstdint-for-gcc13.patch
  vst3sdk-fix-limits-include-moduleinfoparser.patch
- Remove patches  - fixed in upstream:
  no-more-strip.patch
- Refresh patches:
  audacity-no_return_in_nonvoid.patch
- Update to 3.3.0
  Changes
  * Some of the built-in effects are now realtime capable (Bass & 
    Treble, Distortion, Phaser, Reverb and Wahwah).
  * #4352 Added a new effect: Shelf Filter.
  * Added an initial (beta) version of Beats and Bars.
  * #4414 Reworked the bottom toolbar dock:
      * Project Sample Rate is now found in Audio Setup -> Audio 
        Settings (formerly known as Project Rate).
      * The Snapping Toolbar (formerly known as Snap-To) is now 
        independent of the Selection Toolbar.
      * Added a new Time Signature Toolbar (beta). It is hidden by default.
  *  #4212 Improved Zooming behavior slightly (more to come in the future).
  *  #4393 Added a new ruler, Linear (dB). This ruler goes from 
     0 dBFS to -∞ dBFS and better reflects the volume as shown in 
     the recording/playback meters.
  *  #3820 When copying clips between projects, you now can choose 
     between whether to copy smart clips or just the visible portion.
  *  #4133 Added a delete button to the Cut/Copy/Paste toolbar.
  Bugfixes
  *  #1584 Audacity no longer dithers tracks unnecessarily.
  *  #2427 Linux playback now handles output latency better (less stutters).
  *  #3796 The EQ effect no longer resets clip names.
  *  #3801 Audacity no longer crashes when trying to load projects with 
     plugins that since have been deleted.
  *  #4417 Resampling a track no longer trims it.
  Libraries
  *  FFmpeg 6 (avformat 60) is now supported.
  *  Moved from Breakpad to Crashpad.
  *  Extracted various libraries from within Audacity.

OBS-URL: https://build.opensuse.org/request/show/1082615
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=200
2023-04-27 16:04:32 +00:00

43 lines
1.6 KiB
Diff

diff --git a/lib-src/libnyquist/nyquist/cmupv/src/cmupv.c b/lib-src/libnyquist/nyquist/cmupv/src/cmupv.c
index 8c1c7b5a8..e05c28dd9 100644
--- a/lib-src/libnyquist/nyquist/cmupv/src/cmupv.c
+++ b/lib-src/libnyquist/nyquist/cmupv/src/cmupv.c
@@ -600,6 +600,7 @@ double pv_get_effective_pos(Phase_vocoder x)
return -(pv->ratio * pv->fftsize / 2.0);
} // I can't think of any other case.
assert(FALSE);
+ return(0);
}
diff --git a/lib-src/libnyquist/nyquist/xlisp/xlbfun.c b/lib-src/libnyquist/nyquist/xlisp/xlbfun.c
index 37ab60479..f434a674d 100644
--- a/lib-src/libnyquist/nyquist/xlisp/xlbfun.c
+++ b/lib-src/libnyquist/nyquist/xlisp/xlbfun.c
@@ -603,7 +603,10 @@ LVAL xcleanup(void)
{
xllastarg();
xlcleanup();
- /* compiler might (wrongly) complain there is no return value */
+ /* this point will never be reached because xlcleanup() does a
+ longjmp(). The return is added to avoid false positive
+ error messages from static analyzers and compilers */
+ return (NIL);
}
/* xtoplevel - special form 'top-level' */
diff --git a/lib-src/portsmf/allegro.cpp b/lib-src/portsmf/allegro.cpp
index a87117e38..d4717855a 100644
--- a/lib-src/portsmf/allegro.cpp
+++ b/lib-src/portsmf/allegro.cpp
@@ -2905,6 +2905,9 @@ Alg_event_ptr &Alg_seq::operator[](int i)
tr++;
}
assert(false); // out of bounds
+ Alg_event_ptr ab_track;
+ return ab_track; // Fix false positive error: control reaches end of non-void function [-Werror=return-type]
+ // Ignores the assert A gcc bug?
}
#pragma warning(default: 4715)