aboutsummaryrefslogtreecommitdiff
path: root/lib/fdt_dbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fdt_dbg.c')
-rw-r--r--lib/fdt_dbg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fdt_dbg.c b/lib/fdt_dbg.c
index 5fd4219..d3c4e26 100644
--- a/lib/fdt_dbg.c
+++ b/lib/fdt_dbg.c
@@ -138,8 +138,8 @@ void __dbg_fdt(const void *fdt, int node_offset, int depth)
int property = 0;
fdt_for_each_property_offset(property, fdt, node)
{
- int len;
- const char *name;
+ int len = 0;
+ const char *name = 0;
const void *data = fdt_getprop_by_offset(fdt, property,
&name, &len);