Fix compiler warnings
gcc 4.7.2 * warning: value computed is not used [-Wunused-value] * warning: unused variable ‘oss’ [-Wunused-variable]
This commit is contained in:
parent
3c7662517c
commit
7f3326d41c
@ -93,7 +93,6 @@ static int audin_oss_get_format(audinFormat *format) {
|
||||
|
||||
static BOOL audin_oss_format_supported(IAudinDevice *device, audinFormat *format) {
|
||||
int req_fmt = 0;
|
||||
AudinOSSDevice *oss = (AudinOSSDevice*)device;
|
||||
|
||||
if (device == NULL || format == NULL)
|
||||
return FALSE;
|
||||
|
@ -1345,8 +1345,8 @@ static long rdg_bio_ctrl(BIO* bio, int cmd, long arg1, void* arg2)
|
||||
|
||||
if (cmd == BIO_CTRL_FLUSH)
|
||||
{
|
||||
BIO_flush(tlsOut->bio);
|
||||
BIO_flush(tlsIn->bio);
|
||||
(void)BIO_flush(tlsOut->bio);
|
||||
(void)BIO_flush(tlsIn->bio);
|
||||
status = 1;
|
||||
}
|
||||
else if (cmd == BIO_C_GET_EVENT)
|
||||
|
@ -1975,8 +1975,8 @@ static long transport_bio_tsg_ctrl(BIO* bio, int cmd, long arg1, void* arg2)
|
||||
|
||||
if (cmd == BIO_CTRL_FLUSH)
|
||||
{
|
||||
BIO_flush(inChannel->tls->bio);
|
||||
BIO_flush(outChannel->tls->bio);
|
||||
(void)BIO_flush(inChannel->tls->bio);
|
||||
(void)BIO_flush(outChannel->tls->bio);
|
||||
status = 1;
|
||||
}
|
||||
else if (cmd == BIO_C_GET_EVENT)
|
||||
|
Loading…
Reference in New Issue
Block a user