test_taskprocessor.c: Fix test failure on Ubuntu

Fixes a failure in /main/taskprocesor unit test, only occurring in Ubuntu.
Newer versions of GCC require variable initialization.

Change-Id: I2994d8aab9307a8c2c7330584f287a27144a580c
changes/37/13037/2
csavinovich 6 years ago committed by Christian Savinovich
parent 8aa4e1c3c9
commit b27a5183da

@ -184,7 +184,7 @@ AST_TEST_DEFINE(subsystem_alert)
#define LOW_WATER_MARK 3
#define HIGH_WATER_MARK 6
struct task_data *task_data[(TEST_DATA_ARRAY_SIZE + 1)] = { 0 };
int res;
int res = 0;
int i;
long queue_count;
unsigned int alert_level;

Loading…
Cancel
Save