diff --git a/src/device/device_util.c b/src/device/device_util.c index bbbcce89e8..9b3e21f9d2 100644 --- a/src/device/device_util.c +++ b/src/device/device_util.c @@ -768,7 +768,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;