aboutsummaryrefslogtreecommitdiffstats
path: root/epan/to_str.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-06-07 22:28:55 +0000
committerBill Meier <wmeier@newsguy.com>2011-06-07 22:28:55 +0000
commit4f420ef6cd41699f9945697d9d2fb6f521deaf39 (patch)
tree7025e83441575ec790c8c95b712a6c3abfaa37f8 /epan/to_str.c
parent6399940fd89970d4cd2a985e7ede5c60c7a18158 (diff)
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings
svn path=/trunk/; revision=37600
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) {