smsutil: Mark variable properly as unused

This commit is contained in:
Marcel Holtmann 2011-05-29 11:55:48 -07:00
parent 3763930ff8
commit e861d1369a
1 changed files with 1 additions and 4 deletions

View File

@ -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;