From 8862151190b333c938a47fbbe51b0a611607af7d Mon Sep 17 00:00:00 2001
From: lingsheng <lingsheng@huawei.com>
Date: Mon, 2 Nov 2020 16:01:57 +0800
Subject: [PATCH] initialize point in end_string

---
 epan/version_info.c    | 2 +-
 version_info.c         | 2 +-
 wiretap/version_info.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/epan/version_info.c b/epan/version_info.c
index 6c80bd9..7e979d8 100644
--- a/epan/version_info.c
+++ b/epan/version_info.c
@@ -47,7 +47,7 @@
 static void
 end_string(GString *str)
 {
-	size_t point;
+	size_t point = 0;
 	char *p, *q;
 
 	point = str->len;
diff --git a/version_info.c b/version_info.c
index 6c80bd9..7e979d8 100644
--- a/version_info.c
+++ b/version_info.c
@@ -47,7 +47,7 @@
 static void
 end_string(GString *str)
 {
-	size_t point;
+	size_t point = 0;
 	char *p, *q;
 
 	point = str->len;
diff --git a/wiretap/version_info.c b/wiretap/version_info.c
index 6c80bd9..7e979d8 100644
--- a/wiretap/version_info.c
+++ b/wiretap/version_info.c
@@ -47,7 +47,7 @@
 static void
 end_string(GString *str)
 {
-	size_t point;
+	size_t point = 0;
 	char *p, *q;
 
 	point = str->len;
-- 
2.23.0

