SHA256
1
0
forked from pool/audacity
audacity/audacity-no_return_in_nonvoid.patch

55 lines
2.2 KiB
Diff
Raw Normal View History

Index: b/src/widgets/NumericTextCtrl.cpp
Accepting request 539111 from home:alois:branches:multimedia:apps - Update to version 2.2.0 Improvements: * Four Selectable themes provided, with new 'Light' theme as default, plus option to customize * Many menu changes: + Menus Reorganized + Extended menu bar provided + New keyboard commands for working with clips * Help buttons ? in Preferences, Effects, Generators and Analyzers - and other places * Non-Greying out of effects when no selection (and explanatory dialog with help button) * Playback of MIDI (and Allegro) files imported into Note Tracks is now available. * 'Center' option in Selection Toolbar * Stem plots * Major overhaul to documentation/manual including many new images and streamlined text on landing pages for in-program help. Other Changes: * Append-record is now the default (use Shift + Record for old behavior, to record on a new track) * The Esc key now cancels all click-and-drag actions. It also chooses among overlapping mouse click targets, which is especially useful in the Multi-Tool. * Sync-Lock button removed (use menu item or keyboard shortcut instead) * New preferences and preference pages * Overhaul of much code: + Overhaul of envelope handling code to deal with some anomalies + Overhaul of exception handling for greater safety * New Logo Bug Fixes: * Major work on bug fixing. 198 bugs that were in 2.1.3 fixed for 2.2.0. + The most serious bug fixed this time round was bug 437 which was about what happens when Audacity is recording and runs out of storage. + The problems of incomplete support for macOs Sierra have been resolved (including bug 290, bug 1567, bug 1702, and bug 1703). + Most of the bugs fixed were more minor, such as bug 463 which was about a case in which the numbering on the timeline could display incorrect times. - Added audacity-no_return_in_nonvoid.patch OBS-URL: https://build.opensuse.org/request/show/539111 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=109
2017-11-05 11:39:39 +01:00
===================================================================
--- a/src/widgets/NumericTextCtrl.cpp 2021-08-26 08:15:19.157002365 +0200
+++ b/src/widgets/NumericTextCtrl.cpp 2021-08-26 08:15:38.545784197 +0200
@@ -677,6 +677,7 @@ static const BuiltinFormatString Bandwid
Accepting request 539111 from home:alois:branches:multimedia:apps - Update to version 2.2.0 Improvements: * Four Selectable themes provided, with new 'Light' theme as default, plus option to customize * Many menu changes: + Menus Reorganized + Extended menu bar provided + New keyboard commands for working with clips * Help buttons ? in Preferences, Effects, Generators and Analyzers - and other places * Non-Greying out of effects when no selection (and explanatory dialog with help button) * Playback of MIDI (and Allegro) files imported into Note Tracks is now available. * 'Center' option in Selection Toolbar * Stem plots * Major overhaul to documentation/manual including many new images and streamlined text on landing pages for in-program help. Other Changes: * Append-record is now the default (use Shift + Record for old behavior, to record on a new track) * The Esc key now cancels all click-and-drag actions. It also chooses among overlapping mouse click targets, which is especially useful in the Multi-Tool. * Sync-Lock button removed (use menu item or keyboard shortcut instead) * New preferences and preference pages * Overhaul of much code: + Overhaul of envelope handling code to deal with some anomalies + Overhaul of exception handling for greater safety * New Logo Bug Fixes: * Major work on bug fixing. 198 bugs that were in 2.1.3 fixed for 2.2.0. + The most serious bug fixed this time round was bug 437 which was about what happens when Audacity is recording and runs out of storage. + The problems of incomplete support for macOs Sierra have been resolved (including bug 290, bug 1567, bug 1702, and bug 1703). + Most of the bugs fixed were more minor, such as bug 463 which was about a case in which the numbering on the timeline could display incorrect times. - Added audacity-no_return_in_nonvoid.patch OBS-URL: https://build.opensuse.org/request/show/539111 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=109
2017-11-05 11:39:39 +01:00
case NumericConverter::BANDWIDTH:
return WXSIZEOF(BandwidthConverterFormats_);
Accepting request 539111 from home:alois:branches:multimedia:apps - Update to version 2.2.0 Improvements: * Four Selectable themes provided, with new 'Light' theme as default, plus option to customize * Many menu changes: + Menus Reorganized + Extended menu bar provided + New keyboard commands for working with clips * Help buttons ? in Preferences, Effects, Generators and Analyzers - and other places * Non-Greying out of effects when no selection (and explanatory dialog with help button) * Playback of MIDI (and Allegro) files imported into Note Tracks is now available. * 'Center' option in Selection Toolbar * Stem plots * Major overhaul to documentation/manual including many new images and streamlined text on landing pages for in-program help. Other Changes: * Append-record is now the default (use Shift + Record for old behavior, to record on a new track) * The Esc key now cancels all click-and-drag actions. It also chooses among overlapping mouse click targets, which is especially useful in the Multi-Tool. * Sync-Lock button removed (use menu item or keyboard shortcut instead) * New preferences and preference pages * Overhaul of much code: + Overhaul of envelope handling code to deal with some anomalies + Overhaul of exception handling for greater safety * New Logo Bug Fixes: * Major work on bug fixing. 198 bugs that were in 2.1.3 fixed for 2.2.0. + The most serious bug fixed this time round was bug 437 which was about what happens when Audacity is recording and runs out of storage. + The problems of incomplete support for macOs Sierra have been resolved (including bug 290, bug 1567, bug 1702, and bug 1703). + Most of the bugs fixed were more minor, such as bug 463 which was about a case in which the numbering on the timeline could display incorrect times. - Added audacity-no_return_in_nonvoid.patch OBS-URL: https://build.opensuse.org/request/show/539111 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=109
2017-11-05 11:39:39 +01:00
}
+ return WXSIZEOF(BandwidthConverterFormats_);
Accepting request 539111 from home:alois:branches:multimedia:apps - Update to version 2.2.0 Improvements: * Four Selectable themes provided, with new 'Light' theme as default, plus option to customize * Many menu changes: + Menus Reorganized + Extended menu bar provided + New keyboard commands for working with clips * Help buttons ? in Preferences, Effects, Generators and Analyzers - and other places * Non-Greying out of effects when no selection (and explanatory dialog with help button) * Playback of MIDI (and Allegro) files imported into Note Tracks is now available. * 'Center' option in Selection Toolbar * Stem plots * Major overhaul to documentation/manual including many new images and streamlined text on landing pages for in-program help. Other Changes: * Append-record is now the default (use Shift + Record for old behavior, to record on a new track) * The Esc key now cancels all click-and-drag actions. It also chooses among overlapping mouse click targets, which is especially useful in the Multi-Tool. * Sync-Lock button removed (use menu item or keyboard shortcut instead) * New preferences and preference pages * Overhaul of much code: + Overhaul of envelope handling code to deal with some anomalies + Overhaul of exception handling for greater safety * New Logo Bug Fixes: * Major work on bug fixing. 198 bugs that were in 2.1.3 fixed for 2.2.0. + The most serious bug fixed this time round was bug 437 which was about what happens when Audacity is recording and runs out of storage. + The problems of incomplete support for macOs Sierra have been resolved (including bug 290, bug 1567, bug 1702, and bug 1703). + Most of the bugs fixed were more minor, such as bug 463 which was about a case in which the numbering on the timeline could display incorrect times. - Added audacity-no_return_in_nonvoid.patch OBS-URL: https://build.opensuse.org/request/show/539111 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=109
2017-11-05 11:39:39 +01:00
}
}
Index: b/lib-src/libnyquist/nyquist/xlisp/xlbfun.c
===================================================================
--- a/lib-src/libnyquist/nyquist/xlisp/xlbfun.c 2021-08-26 08:15:19.157002365 +0200
+++ b/lib-src/libnyquist/nyquist/xlisp/xlbfun.c 2021-08-26 08:15:38.545784197 +0200
@@ -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' */
Index: b/lib-src/portsmf/allegro.cpp
===================================================================
--- a/lib-src/portsmf/allegro.cpp 2021-08-26 08:15:19.157002365 +0200
+++ b/lib-src/portsmf/allegro.cpp 2021-08-26 08:15:38.545784197 +0200
@@ -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)
Index: b/lib-src/libnyquist/nyquist/cmupv/src/cmupv.c
===================================================================
--- a/lib-src/libnyquist/nyquist/cmupv/src/cmupv.c 2021-08-26 08:15:19.157002365 +0200
+++ b/lib-src/libnyquist/nyquist/cmupv/src/cmupv.c 2021-08-26 08:15:38.545784197 +0200
@@ -600,6 +600,7 @@ double pv_get_effective_pos(Phase_vocode
return -(pv->ratio * pv->fftsize / 2.0);
} // I can't think of any other case.
assert(FALSE);
+ return(0);
}