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
  • tools/tracereport/synopt_report.c

    r708f9ae ra3041a4  
    104104        unsigned char *opt_ptr;
    105105        libtrace_direction_t dir = trace_get_direction(packet);
    106         int tcp_payload, len;
     106        int len;
    107107        unsigned char type, optlen, *data;
    108108        struct tcp_opts opts_seen = {false, false, false, false, false, false};
     
    120120        if(len == 0)
    121121                return;
    122        
    123         tcp_payload = trace_get_wire_length(packet) - trace_get_capture_length(packet);
    124122       
    125123        opt_ptr = (unsigned char *)tcp + sizeof (libtrace_tcp_t);
Note: See TracChangeset for help on using the changeset viewer.