Changeset 6100


Ignore:
Timestamp:
Nov 6, 2019 7:17:01 AM (12 days ago)
Author:
riza
Message:

Re #2249: Fixed warning on pjlib-test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pjlib-test/timer.c

    r6099 r6100  
    843843        pj_status_t status; 
    844844 
    845         switch (test_type) { 
    846         case RANDOM_SCH: 
    847             delay.msec = get_random_delay(); 
    848             break; 
    849         case INCREMENT_SCH: 
    850             delay.msec = get_next_delay(delay.msec); 
    851             break; 
    852         } 
    853  
    854845        if (test_type == RANDOM_SCH || test_type == INCREMENT_SCH) { 
     846            if (test_type == RANDOM_SCH) 
     847                delay.msec = get_random_delay(); 
     848            else 
     849                delay.msec = get_next_delay(delay.msec); 
     850 
    855851            pj_timer_entry_init(&entries[j], 0, NULL, &dummy_callback); 
    856852 
Note: See TracChangeset for help on using the changeset viewer.