Skip to content
Snippets Groups Projects
Commit b27a5183 authored by csavinovich's avatar csavinovich Committed by Christian Savinovich
Browse files

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
parent 8aa4e1c3
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment