File audacity-1.3.7-return_non_void.patch of Package audacity

--- lib-src/libnyquist/nyx/nyx.c
+++ lib-src/libnyquist/nyx/nyx.c
@@ -425,7 +425,7 @@
    int success = FALSE;
 
    if (nyx_get_type(nyx_result) != nyx_audio)
-      return;
+      return FALSE;
 
    num_channels = nyx_get_audio_num_channels();
    snds = (sound_type *)malloc(num_channels * sizeof(sound_type));
openSUSE Build Service is sponsored by