Removed code duplication (Sourceforege#3567952 reported by hugh redelmeier)
[platform/upstream/net-tools.git] / lib / af.c
index bedec95..7660961 100644 (file)
--- a/lib/af.c
+++ b/lib/af.c
@@ -304,7 +304,6 @@ int aftrans_opt(const char *arg)
        if (tmp2)
            *(tmp2++) = '\0';
 
-       paft = aftrans;
        for (paft = aftrans; paft->alias; paft++) {
            if (strcmp(tmp1, paft->alias))
                continue;