- 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
This commit is contained in:
Diane Bruce 2006-04-16 19:52:47 +00:00
parent c7938b6db6
commit fdf09163fe

View File

@ -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 */
}