Changeset a3041a4 for lib/format_linux.c


Ignore:
Timestamp:
01/10/12 14:15:58 (10 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
8753bb8
Parents:
a0ec6f1
Message:
  • Fixed "unused but set" warnings that new gcc now likes to report
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_linux.c

    r078bd65 ra3041a4  
    459459        unsigned char controlbuf[CMSG_BUF_SIZE];
    460460        struct cmsghdr *cmsg;
    461         socklen_t socklen;
    462461        int snaplen;
    463462        uint32_t flags = 0;
     
    475474
    476475        hdr=(struct libtrace_linuxnative_header*)packet->buffer;
    477         socklen=sizeof(hdr->hdr);
    478476        snaplen=LIBTRACE_MIN(
    479477                        (int)LIBTRACE_PACKET_BUFSIZE-(int)sizeof(*hdr),
Note: See TracChangeset for help on using the changeset viewer.