Changeset 8d24b12


Ignore:
Timestamp:
11/08/18 14:22:54 (2 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
develop, master
Children:
cf7cca1
Parents:
0bb8d49
Message:

Fix unused variable warning in format_ndag when recvmmsg is missing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_ndag.c

    r6a2f037 r8d24b12  
    945945                int *gottime, recvstream_t *rt) {
    946946
    947         int ret, ndagstat, avail;
     947        int ret, ndagstat;
    948948        int toret = 0;
    949949
    950950#if HAVE_DECL_RECVMMSG
    951         int i;
     951        int i, avail;
    952952#endif
    953953
     954
     955#if HAVE_DECL_RECVMMSG
    954956        avail = init_receivers(ssock, ssock->bufavail);
    955 
    956 #if HAVE_DECL_RECVMMSG
    957957        ret = recvmmsg(ssock->sock, ssock->mmsgbufs, avail,
    958958                        MSG_DONTWAIT, NULL);
Note: See TracChangeset for help on using the changeset viewer.