Ignore:
Timestamp:
02/21/07 16:06:38 (14 years ago)
Author:
Josef Vodanovich <jjv4@…>
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:
f9b6f64
Parents:
d4336d5
Message:

removed unnecessary loops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracereport/protocol_report.c

    rd4336d5 r09be643  
    2828        int i;
    2929        printf("%-20s","Direction:");
    30         //printf("%20s", " ");
    3130        for(i=0;i<4;i++){
    3231                if(!suppress[i]){
     
    9796        }
    9897        setprotoent(0);
    99        
    100         int total;
    101         for(i=0;i<4;i++){
    102                 total = 0;
    103                 for(j=0;j<256;j++)
    104                         total += prot_stat[i][j].count;
    105                 //printf("%s: %i\n", "Total", total);
    106         }
    10798}
Note: See TracChangeset for help on using the changeset viewer.