mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-09 21:14:02 +00:00
[Unit-tests] Fix previously defined AM_* in tests.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
#include <stdio.h>
|
||||
#include <switch.h>
|
||||
#include <test/switch_test.h>
|
||||
|
||||
@@ -20,9 +19,6 @@ FST_TEARDOWN_END()
|
||||
|
||||
FST_TEST_BEGIN(benchmark)
|
||||
{
|
||||
switch_event_t *event = NULL;
|
||||
switch_bool_t verbose = SWITCH_TRUE;
|
||||
const char *err = NULL;
|
||||
switch_time_t start_ts, end_ts;
|
||||
uint64_t micro_total = 0;
|
||||
double micro_per = 0;
|
||||
@@ -33,7 +29,7 @@ FST_TEST_BEGIN(benchmark)
|
||||
switch_time_t small_start_ts, small_end_ts;
|
||||
#endif
|
||||
|
||||
int rc = 0, loops = 10;
|
||||
int loops = 10;
|
||||
switch_status_t status = SWITCH_STATUS_SUCCESS;
|
||||
char **index = NULL;
|
||||
switch_hash_t *hash = NULL;
|
||||
|
||||
Reference in New Issue
Block a user