aboutsummaryrefslogtreecommitdiffstats
path: root/epan/to_str.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-06-07 22:28:55 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2011-06-07 22:28:55 +0000
commite2551e915297ea65497b700ed950bcf396e5ccf5 (patch)
tree7025e83441575ec790c8c95b712a6c3abfaa37f8 /epan/to_str.c
parent32ef6d6516c8da4979df3f4d4bd4a7736fd8d08d (diff)
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37600 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/to_str.c')
-rw-r--r--epan/to_str.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/to_str.c b/epan/to_str.c
index ca7152f9c1..59382a83ad 100644
--- a/epan/to_str.c
+++ b/epan/to_str.c
@@ -810,7 +810,6 @@ gchar *
rel_time_to_str(const nstime_t *rel_time)
{
emem_strbuf_t *buf;
- const char *sign;
gint32 time_val;
gint32 nsec;
@@ -820,7 +819,6 @@ rel_time_to_str(const nstime_t *rel_time)
print its absolute value and, if the seconds part isn't
(the seconds part should be zero in that case), stick
a "-" in front of the entire time stamp. */
- sign = "";
time_val = (gint) rel_time->secs;
nsec = rel_time->nsecs;
if (time_val == 0 && nsec == 0) {