summaryrefslogtreecommitdiff
path: root/wiretap/logcat.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2014-08-03 13:25:19 -0400
committerEvan Huus <eapache@gmail.com>2014-08-03 17:26:05 +0000
commitd34d09ebe4c983ca4174a56aae69a6a6b699c1c9 (patch)
tree33431a6069b69debfbecca2b8633ed19061089db /wiretap/logcat.c
parent5460d7fa0cd13f84ff567c96ee89d07b37cd4b62 (diff)
downloadwireshark-d34d09ebe4c983ca4174a56aae69a6a6b699c1c9.tar.gz
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 <eapache@gmail.com>
Diffstat (limited to 'wiretap/logcat.c')
-rw-r--r--wiretap/logcat.c2
1 files changed, 1 insertions, 1 deletions
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;