From e1a1df06a1144566d39a481d33bf0f86c2a7c018 Mon Sep 17 00:00:00 2001 From: Diane Bruce Date: Sun, 16 Apr 2006 19:52:47 +0000 Subject: [PATCH] - do not return a value from a void function git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@165 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- start_oss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start_oss.c b/start_oss.c index fb224f138..dc85524af 100644 --- a/start_oss.c +++ b/start_oss.c @@ -218,7 +218,7 @@ oss_loop(int *iarg) nread = read (data.fd_in, rcv_buf, AUDIOBUFSIZE); if (nread <= 0) { fprintf(stderr, "Read error %d\n", nread); - return (-1); + return; } if (nread == AUDIOBUFSIZE) { /* Get System time */ @@ -285,7 +285,7 @@ oss_loop(int *iarg) if (write(data.fd_out, tx_buf, AUDIOBUFSIZE) < 0) { fprintf(stderr, "Can't write to soundcard.\n"); - return (-1); + return; } fivehztx_(); /* Call fortran routine */ }