From d34d09ebe4c983ca4174a56aae69a6a6b699c1c9 Mon Sep 17 00:00:00 2001 From: Evan Huus Date: Sun, 3 Aug 2014 13:25:19 -0400 Subject: Initialize a variable to squelch a false-positive warning on the mac buildbot Change-Id: I43f5ea7a73941b518c714216df0d7e25ad260012 Reviewed-on: https://code.wireshark.org/review/3384 Reviewed-by: Evan Huus --- wiretap/logcat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wiretap/logcat.c') diff --git a/wiretap/logcat.c b/wiretap/logcat.c index 4dedff3ff1..5ac6e383aa 100644 --- a/wiretap/logcat.c +++ b/wiretap/logcat.c @@ -233,7 +233,7 @@ static gint buffered_detect_version(const guint8 *pd) struct logger_entry *log_entry; struct logger_entry_v2 *log_entry_v2; gint version; - guint8 *msg_payload; + guint8 *msg_payload = NULL; guint8 *msg_part; guint8 *msg_end; guint16 msg_len; -- cgit v1.2.3