Fix -Wall -Wpedantic warnings
[project/iwinfo.git] / iwinfo_wext.c
index 73ba65088811211c502037b0fefa9dc59973bd9c..ee02f3a71618e9a6975617ce7174d32ec4899646 100644 (file)
@@ -32,8 +32,6 @@ static double wext_freq2float(const struct iw_freq *in)
 
 static inline int wext_freq2mhz(const struct iw_freq *in)
 {
-       int i;
-
        if( in->e == 6 )
        {
                return in->m;