hw imx53 tz_vmm: fix compiler warnings

There were warnings in tz_vmm/block.cc due to an unitialized variable.

Fixes #1849
This commit is contained in:
Martin Stein 2016-01-11 11:38:19 +01:00 committed by Christian Helmuth
parent 2e0e767f93
commit b63941f456
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ class Device_registry
char label[Device::MAX_NAME_LEN];
config.sub_node(node_id).attribute("label").value(label, sizeof(label));
unsigned irq;
unsigned irq = ~0;
config.sub_node(node_id).attribute("irq").value(&irq);
static unsigned dev_id = 0;