SHA256
1
0
forked from pool/audacity
audacity/audacity-no_return_in_nonvoid.patch
Takashi Iwai bce0582796 - Update vst3sdk to 3.7.12_build_20
- Update to 3.6.3
  * #7266 Fixed a crash when exiting Audacity. (Thanks, Joe Souza!)
- Updated 3.6.2 release notes:
  * This is a patch release. It adds a "Legacy" effects section
    containing the old Limiter, Compressor and Classic Filters.
  * #6995 Fixed a hang after undoing.
  * #6912 Fixed the zero line going missing.
  * #6927 Fixed envelope appearance for clips offset from 0.
  * #6955 Fixed Audacity turning white on some systems.
  * #6857 Fixed the pitch indicator disappearing on Linux when
    hitting double digits.
  * #6941 Fixed cutting not putting clips into the clipboard.
  * #6926 Fixed pasting sometimes resetting the clip name.
  * #6751 Fixed the track header UI breaking when resizing channels
    in a stereo track.
  * #6847, #6846 Fixed LV2 plugin detection on macOS and Windows.
  * #3679 Fixed Labeled Audio operations.
  * #6924, #6989 Fixed Cloud projects sometimes not opening.
  * #7060 Fixed a bug regarding stereo-to-mono splitting.
  * #7055 Fixed a bug causing tracks with master effects sometimes
    only exporting silence.
  * #7025, #7133 Fixed multi-channel OGG and Wavpack import.
  * #7018 Fixed a crash after recording long sessions.
  * #7126 Fixed a crash when failing to load a cloud project.
  * #7093 Fixed Audacity maxing out the CPU when minimized.
  * #7124 Fixed the "editing clips can move other clips" preference
    desynchronizing multiple tracks.
  * Other changes:
  * #6736 The time track range now is a single dialog.
  * #6929 Reverted the behavior of selection change when importing
    a clip to the previous behavior.

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=228
2024-09-10 08:08:19 +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)