Changeset d267f4d


Ignore:
Timestamp:
10/15/09 17:57:48 (11 years ago)
Author:
Perry Lorier <perry@…>
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:
7f1b9d4
Parents:
3d9cf9f
Message:

Squash unused parameter warnings

Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/format_linux.c

    r4b6495c3 rd267f4d  
    615615 * filter any packets, so don't lie -- return that we don't know.
    616616 */
    617 static uint64_t linuxnative_get_filtered_packets(libtrace_t *trace) {
     617static uint64_t linuxnative_get_filtered_packets(libtrace_t *trace UNUSED) {
    618618        return UINT64_MAX;
    619619}
  • lib/format_tsh.c

    r1aa4bf7 rd267f4d  
    4747} tsh_pkt_header_t;
    4848
    49 static int tsh_get_framing_length(const libtrace_packet_t *packet)
     49static int tsh_get_framing_length(const libtrace_packet_t *packet UNUSED)
    5050{
    5151        return sizeof(tsh_pkt_header_t);
     
    172172}
    173173
    174 static libtrace_linktype_t tsh_get_link_type(const libtrace_packet_t *packet) {
     174static libtrace_linktype_t tsh_get_link_type(const libtrace_packet_t *packet UNUSED) {
    175175        return TRACE_TYPE_NONE;
    176176}
Note: See TracChangeset for help on using the changeset viewer.