Changeset 0f6879e


Ignore:
Timestamp:
07/30/10 09:58:31 (11 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:
f2b53d2
Parents:
0896e76
Message:
  • Fix annoying warnings in ior-peek.c
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/ior-peek.c

    rbb47c98 r0f6879e  
    126126                DATA(io)->buffer = buf_ptr;
    127127#else
     128                res = 0;        /* << Silly warning */
    128129                DATA(io)->buffer = malloc(DATA(io)->length);
    129130#endif
     
    238239        return new;
    239240#else
     241        /* These no-ops are to stop the compiler whinging about unused
     242         * parameters */
     243        oldsize = oldsize;
     244        res = res;
    240245        return realloc(old,size);
    241246#endif
Note: See TracChangeset for help on using the changeset viewer.