summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/device/device_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/device_util.c b/src/device/device_util.c
index 4526c48..d5466cb 100644
--- a/src/device/device_util.c
+++ b/src/device/device_util.c
@@ -796,7 +796,7 @@ void print_resource_tree(struct device *root, int debug_level, const char *msg)
void show_devs_tree(struct device *dev, int debug_level, int depth, int linknum)
{
- char depth_str[20] = "";
+ char depth_str[20];
int i;
struct device *sibling;
struct bus *link;
OpenPOWER on IntegriCloud