summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Sévelin-Radiguet <nicosr@free.fr>2021-11-05 17:13:15 +0100
committergregor herrmann <gregoa@debian.org>2021-11-05 17:13:15 +0100
commitfa54914e358bd26814d78a613bf8f47353d7a740 (patch)
tree07a0e41b0f98eb942e7f5f60116ee3988917294d
parentdecec8a0721193c7603dc7dc62929f3da3864aa8 (diff)
fix FTBFS with clang instead of gccHEADarchive/debian/0.7-8master
Bug-Debian: https://bugs.debian.org/742537 Bug: https://rt.cpan.org/Ticket/Display.html?id=94186 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=94186 Reviewed-by: gregor herrmann <gregoa@debian.org> Last-Update: 2014-03-24 Gbp-Pq: Name clang_FTBFS_Wreturn-type.patch
-rw-r--r--Mix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mix.c b/Mix.c
index 108153e..8b4284b 100644
--- a/Mix.c
+++ b/Mix.c
@@ -78,7 +78,7 @@ close_mixer() {
#ifdef DEBUG
fprintf(stderr, "close_mixer()\n");
#endif
- if (mixer_fd < 0) return;
+ if (mixer_fd < 0) return(0);
close(mixer_fd);
init_flag = 0;
mixer_fd = -1;