From fa54914e358bd26814d78a613bf8f47353d7a740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20S=C3=A9velin-Radiguet?= Date: Fri, 5 Nov 2021 17:13:15 +0100 Subject: fix FTBFS with clang instead of gcc 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 Last-Update: 2014-03-24 Gbp-Pq: Name clang_FTBFS_Wreturn-type.patch --- Mix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3