snd/snd-fix-no-return.diff

26 lines
702 B
Diff
Raw Normal View History

---
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)));