From e2551e915297ea65497b700ed950bcf396e5ccf5 Mon Sep 17 00:00:00 2001 From: wmeier Date: Tue, 7 Jun 2011 22:28:55 +0000 Subject: 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 --- epan/to_str.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'epan/to_str.c') 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) { -- cgit v1.2.3