Ignore:
Timestamp:
Oct 21, 2013 6:37:30 AM (11 years ago)
Author:
ming
Message:

Re #1630 (misc):
Fixed compiler warnings. Thanks to Mark Michelson for the patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/ssl_sock_ossl.c

    r4613 r4624  
    611611    ssock->ossl_rbio = BIO_new(BIO_s_mem()); 
    612612    ssock->ossl_wbio = BIO_new(BIO_s_mem()); 
    613     BIO_set_close(ssock->ossl_rbio, BIO_CLOSE); 
    614     BIO_set_close(ssock->ossl_wbio, BIO_CLOSE); 
     613    (void)BIO_set_close(ssock->ossl_rbio, BIO_CLOSE); 
     614    (void)BIO_set_close(ssock->ossl_wbio, BIO_CLOSE); 
    615615    SSL_set_bio(ssock->ossl_ssl, ssock->ossl_rbio, ssock->ossl_wbio); 
    616616 
     
    12741274 
    12751275    /* Reset write BIO */ 
    1276     BIO_reset(ssock->ossl_wbio); 
     1276    (void)BIO_reset(ssock->ossl_wbio); 
    12771277 
    12781278    /* Ticket #1573: Don't hold mutex while calling PJLIB socket send(). */ 
Note: See TracChangeset for help on using the changeset viewer.