summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sharkd_session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sharkd_session.c b/sharkd_session.c
index 2903d83108..234a9a0e1d 100644
--- a/sharkd_session.c
+++ b/sharkd_session.c
@@ -418,7 +418,7 @@ sharkd_session_process_analyse_cb(packet_info *pi, proto_tree *tree, struct epan
if (pi->layers)
{
- wmem_list_frame_t *frame = wmem_list_head(pi->layers);
+ wmem_list_frame_t *frame;
for (frame = wmem_list_head(pi->layers); frame; frame = wmem_list_frame_next(frame))
{