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

Fix some issues revealed by coverity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/file-posix.c

    r14493 r14527  
    138138#ifdef HAVE_POSIX_FADVISE
    139139
    140   posix_fadvise (handle, 0, 0, POSIX_FADV_SEQUENTIAL);
     140  (void) posix_fadvise (handle, 0, 0, POSIX_FADV_SEQUENTIAL);
    141141
    142142#endif
     
    144144#ifdef __APPLE__
    145145
    146   fcntl (handle, F_RDAHEAD, 1);
    147   fcntl (handle, F_NOCACHE, 1);
     146  (void) fcntl (handle, F_RDAHEAD, 1);
     147  (void) fcntl (handle, F_NOCACHE, 1);
    148148
    149149#endif
Note: See TracChangeset for help on using the changeset viewer.