]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lldpcli: remove unused variable
authorVincent Bernat <vincent@bernat.im>
Wed, 21 May 2014 15:21:03 +0000 (17:21 +0200)
committerVincent Bernat <vincent@bernat.im>
Wed, 21 May 2014 15:21:03 +0000 (17:21 +0200)
src/client/conf-lldp.c

index a8ba655e1cdb6d5f68be1b3ebbf39f485652b0f4..6b963dc8c979a3ccc327b5d655a66203b9803e63 100644 (file)
@@ -74,7 +74,7 @@ cmd_portid_type(struct lldpctl_conn_t *conn, struct writer *w,
                struct cmd_env *env, void *arg)
 {
        char *value_str;
-       int m = 0, value = -1;
+       int value = -1;
 
        log_debug("lldpctl", "lldp PortID TLV Subtype");