aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-04-24 08:42:26 +0200
committerAnders Broman <a.broman58@gmail.com>2014-04-24 07:30:56 +0000
commit7a68dc5bfddf97442158b82fece36577947b1b82 (patch)
treefeaea7b864b10359f2ebd9545a72e936640e35b0 /epan/proto.c
parent75f4f9dc92c31f4e65ae1b35baa487474b47c7a8 (diff)
Fix packet-ospf.c:1181:33: warning: code will never be executed [-Wunreachable-code] found by Clang with extra compiler flags
Change-Id: I6a923d85cb5cc947a7e96c1845bde72059d92118 Reviewed-on: https://code.wireshark.org/review/1322 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/proto.c')
-rw-r--r--epan/proto.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/proto.c b/epan/proto.c
index d8fcb1f772..503ea6293f 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -1409,8 +1409,6 @@ get_time_value(tvbuff_t *tvb, const gint start, const gint length, const guint e
default:
DISSECTOR_ASSERT_NOT_REACHED();
- time_stamp->secs = (time_t)0;
- time_stamp->nsecs = 0;
break;
}
}