snd/snd-fix-no-return.diff
Takashi Iwai 8f2d177b1d Accepting request 455017 from home:tiwai:branches:multimedia:apps
- update to version 17.1:
  also fix the build on TW (boo#1023723)
- Drop obsoleted patch
  snd-15.5_backport_remove_glprofile.patch
- Fix no return value compile warnings:
  snd-fix-no-return.diff
- Avoid __DATE__ and __TIME__ usages (actually the code works fine
  but the BS detects it falsely, so better to drop the line):
  snd-drop-date-time.diff

OBS-URL: https://build.opensuse.org/request/show/455017
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/snd?expand=0&rev=32
2017-02-13 10:49:26 +00:00

26 lines
702 B
Diff

---
snd-chn.c | 1 +
snd-xen.c | 1 +
2 files changed, 2 insertions(+)
--- a/snd-chn.c
+++ b/snd-chn.c
@@ -3163,6 +3163,7 @@ static bool make_gl_spectrogram(chan_inf
#if USE_MOTIF
return(XtAppPending(main_app(ss)) == 0); /* return true if there are no pending events to force current buffer to be displayed */
#endif
+ return true;
}
#endif
/* HAVE_GL */
--- a/snd-xen.c
+++ b/snd-xen.c
@@ -2688,6 +2688,7 @@ static Xen g_snd_gl_context(void)
{
#if USE_GTK
/* return(Xen_list_2(C_string_to_Xen_symbol("GLContext"), Xen_wrap_C_pointer(ss->cx))); */
+ return XEN_FALSE;
#else
#if USE_MOTIF
return(Xen_list_2(C_string_to_Xen_symbol("GLXContext"), Xen_wrap_C_pointer(ss->cx)));