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

29 lines
1.1 KiB
Diff
Raw Normal View History

Index: 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
===================================================================
--- src/widgets/NumericTextCtrl.cpp.orig 2018-02-14 09:11:20.000000000 +0200
+++ src/widgets/NumericTextCtrl.cpp 2018-02-22 11:55:52.378391120 +0200
@@ -604,6 +604,7 @@ return theArray.Get();
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 BandwidthConverterFormats();
}
+ return std::vector<BuiltinFormatString> {};
}
}
Index: lib-src/libnyquist/nyquist/xlisp/xlbfun.c
===================================================================
--- lib-src/libnyquist/nyquist/xlisp/xlbfun.c.orig 2018-02-14 09:11:20.000000000 +0200
+++ lib-src/libnyquist/nyquist/xlisp/xlbfun.c 2018-02-22 12:03:14.405777878 +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' */