The debug table function uses a parameter to filter out old originator nodes
when read_file processes the file. The variable is by default not initialized
and still given to this function. This is bad practice and irritates checker
tools.

Signed-off-by: Sven Eckelmann <[email protected]>
---
 debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debug.c b/debug.c
index e7f463d..dfcf3c3 100644
--- a/debug.c
+++ b/debug.c
@@ -107,7 +107,7 @@ int handle_debug_table(char *mesh_iface, int debug_table, 
int argc, char **argv)
        char full_path[MAX_PATH+1];
        char *debugfs_mnt;
        char *orig_iface = NULL;
-       float orig_timeout;
+       float orig_timeout = 0.0f;
        float watch_interval = 1;
        opterr = 0;
 
-- 
2.0.0.rc2

Reply via email to