aboutsummaryrefslogtreecommitdiffstats
path: root/epan/follow.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-06-06 16:18:41 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2015-06-06 17:11:45 +0000
commitda8c79dc7c16b9bd24b114c99dc1cf42229794b7 (patch)
tree23adbf1eccb83346a93deca7e2808721f3c91007 /epan/follow.c
parentbe701f6b9854b2750efb3005c4b8d009fe33a562 (diff)
ui/follow: fix The 'find_addr[UDP_STREAM]' variable is assigned values twice successively. Perhaps this is a mistake. Found by PVS Studio (V519)
Yes, there is a mistake ! Change-Id: I6c6c67300c0e05d3ede00be27f675cc8b15bb439 Reviewed-on: https://code.wireshark.org/review/8794 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/follow.c')
-rw-r--r--epan/follow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/follow.c b/epan/follow.c
index 8900d7101c..73fe541b17 100644
--- a/epan/follow.c
+++ b/epan/follow.c
@@ -189,7 +189,7 @@ void
reset_udp_follow(void) {
remove_tap_listener(&stream_to_follow[UDP_STREAM]);
find_addr[UDP_STREAM] = FALSE;
- find_addr[UDP_STREAM] = FALSE;
+ find_index[UDP_STREAM] = FALSE;
}
gchar*