From 7cd0417af555a78b19c6909a40d1867e0fe9a063 Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Wed, 5 Dec 2012 15:56:36 +0000 Subject: Fix numerous instances of a variable/parameter name "shadowing" a library function name; (At least some (gcc ?) compilers give a "shadow" warning for these). svn path=/trunk/; revision=46402 --- epan/dissectors/packet-dmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-dmp.c') diff --git a/epan/dissectors/packet-dmp.c b/epan/dissectors/packet-dmp.c index 3495485d9a..959e3a8430 100644 --- a/epan/dissectors/packet-dmp.c +++ b/epan/dissectors/packet-dmp.c @@ -1693,8 +1693,8 @@ static gchar *dissect_thales_ipm_id (tvbuff_t *tvb, gint offset, gint length, gi if (length >= 6 && length <= 20 && modifier >= 0 && modifier <= 2) { guint number = tvb_get_ntohs (tvb, offset + length - 6); guint8 number_len = modifier + 2; - time_t time = tvb_get_ntohl(tvb, offset + length - 4); - struct tm *tmp = gmtime(&time); + time_t timev = tvb_get_ntohl(tvb, offset + length - 4); + struct tm *tmp = gmtime(&timev); if (modifier == 1 && number >= 1024) { /* The number is in the range 65536-99999 */ -- cgit v1.2.3