Changeset a3041a4 for lib/trace.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/trace.c

    r979a84f4 ra3041a4  
    501501{
    502502        int ret;
    503         libtrace_err_t err;
    504503
    505504        if (trace_is_err(libtrace)) {
     
    522521                        /* Clear the error if there was one */
    523522                        if (trace_is_err(libtrace)) {
    524                                 err = trace_get_err(libtrace);
     523                                trace_get_err(libtrace);
    525524                        }
    526525                        if (*(int*)value<0
     
    534533                        /* Clear the error if there was one */
    535534                        if (trace_is_err(libtrace)) {
    536                                 err = trace_get_err(libtrace);
     535                                trace_get_err(libtrace);
    537536                        }
    538537                        libtrace->filter=(libtrace_filter_t *)value;
Note: See TracChangeset for help on using the changeset viewer.