]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
coverity: remove dead code
authorVincent Bernat <bernat@luffy.cx>
Fri, 22 Nov 2013 21:45:49 +0000 (22:45 +0100)
committerVincent Bernat <bernat@luffy.cx>
Fri, 22 Nov 2013 21:45:49 +0000 (22:45 +0100)
A spurious return was added at the end of a function.

src/lib/atom-private.c

index 752b807883dd6bfc27fabba51d7d4d0862a9ff41..f6544d039f6999b2260d1d668667dcaa5a62ebd4 100644 (file)
@@ -513,7 +513,6 @@ _lldpctl_atom_set_int_config(lldpctl_atom_t *atom, lldpctl_key_t key,
            NULL, NULL);
        if (rc == 0) return atom;
        return NULL;
-               return atom;
 }
 
 static int