From e861d1369a74bb39d161c58b209e85326bcf50d1 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 29 May 2011 11:55:48 -0700 Subject: [PATCH] smsutil: Mark variable properly as unused --- src/smsutil.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/smsutil.c b/src/smsutil.c index 7a1b33d2..c51d110d 100644 --- a/src/smsutil.c +++ b/src/smsutil.c @@ -3160,15 +3160,12 @@ void status_report_assembly_expire(struct status_report_assembly *assembly, static int sms_tx_load_filter(const struct dirent *dent) { char *endp; - long seq; + guint8 seq __attribute__ ((unused)); if (dent->d_type != DT_REG) return 0; seq = strtol(dent->d_name, &endp, 10); - if (seq == LONG_MIN || seq == LONG_MAX) - return 0; - if (*endp != '\0') return 0;