mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-16 05:07:06 +00:00
CID:1024580 Logically dead code, x will always be > 1
This commit is contained in:
parent
73c1e09269
commit
c1f7887039
@ -849,7 +849,7 @@ SWITCH_STANDARD_API(timer_test_function)
|
|||||||
|
|
||||||
switch_yield(250000);
|
switch_yield(250000);
|
||||||
|
|
||||||
stream->write_function(stream, "Avg: %0.3fms Total Time: %0.3fms\n", (float) ((float) (total / (x > 1 ? x - 1 : 1)) / 1000),
|
stream->write_function(stream, "Avg: %0.3fms Total Time: %0.3fms\n", (float) ((float) (total / (x - 1)) / 1000),
|
||||||
(float) ((float) (end - start) / 1000));
|
(float) ((float) (end - start) / 1000));
|
||||||
|
|
||||||
end:
|
end:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user