rtp-ed137: squelch checkAPI warning about shadowed variable

Change-Id: If9ae00895f12eeeda7590be62e1057397cc88c51
Reviewed-on: https://code.wireshark.org/review/29581
Petri-Dish: Graham Bloice <graham.bloice@trihedral.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
This commit is contained in:
Graham Bloice 2018-09-10 22:18:20 +01:00
parent fd73dad177
commit 8343e411f8
1 changed files with 3 additions and 3 deletions

View File

@ -653,9 +653,9 @@ dissect_rtp_hdr_ext_ed137(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, v
}
#define NSTIME_INIT_USEC(time, usecs) \
time.secs = usecs / 1000000; \
time.nsecs = (usecs % 1000000) / 1000;
#define NSTIME_INIT_USEC(nstime, usecs) \
nstime.secs = usecs / 1000000; \
nstime.nsecs = (usecs % 1000000) / 1000;
/* Decodes and calculates relative/absolute time item */
static void process_time_value(tvbuff_t *tvb, proto_tree *tree, int time_item, unsigned int hdrext_offset, gboolean time_relative, unsigned int time_value)