mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 09:01:59 -05:00
- 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:
parent
c7938b6db6
commit
fdf09163fe
@ -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 */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user