Changeset 14528


Ignore:
Timestamp:
May 9, 2015, 2:10:55 PM (6 years ago)
Author:
mikedld
Message:

Fix some issues revealed by coverity

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.h

    r14479 r14528  
    153153                          tr_port     * setme_port);
    154154
    155 int tr_netSetTOS (tr_socket_t s,
     155void tr_netSetTOS (tr_socket_t s,
    156156                   int         tos);
    157157
    158 int tr_netSetCongestionControl (tr_socket_t   s,
    159                                 const char  * algorithm);
     158void tr_netSetCongestionControl (tr_socket_t   s,
     159                                 const char  * algorithm);
    160160
    161161void tr_netClose (tr_session  * session,
  • trunk/libtransmission/verify.c

    r14355 r14528  
    9494              tr_sha1_update (sha, buffer, bytesThisPass);
    9595#if defined HAVE_POSIX_FADVISE && defined POSIX_FADV_DONTNEED
    96               posix_fadvise (fd, filePos, bytesThisPass, POSIX_FADV_DONTNEED);
     96              (void) posix_fadvise (fd, filePos, bytesThisPass, POSIX_FADV_DONTNEED);
    9797#endif
    9898            }
Note: See TracChangeset for help on using the changeset viewer.