summaryrefslogtreecommitdiffstats
path: root/net/flow-tools/patches/080-fix_uninitialized_var_in_flow_export.patch
blob: bd884038d45f71af1cb0f86a81db509d67aebd80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/flow-export.c b/src/flow-export.c
index 52ae4d2..22b0330 100644
--- a/src/flow-export.c
+++ b/src/flow-export.c
@@ -961,7 +961,7 @@ #endif /* PGSQL */
 
 int fmt_xfields_type(char *buf, u_int64 xfield)
 {
-  int comma;
+  int comma = 0;
 
   buf[0] = 0;