summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-08-07 00:20:04 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2014-08-08 15:15:43 +0200
commitf489b45f9a0bed603ba910af32a383a0f72923f5 (patch)
tree48543c2da328c59884896df8a8a76dca88b067c5
parent60e2254e9ee59b38edf5183235fd496b208c2e4f (diff)
ctl: remove unused variables
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
-rw-r--r--src/ctl/ctl-wifi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ctl/ctl-wifi.c b/src/ctl/ctl-wifi.c
index 88bb445..0dda927 100644
--- a/src/ctl/ctl-wifi.c
+++ b/src/ctl/ctl-wifi.c
@@ -249,7 +249,6 @@ static int ctl_peer_parse_properties(struct ctl_peer *p,
int ctl_peer_connect(struct ctl_peer *p, const char *prov, const char *pin)
{
- _sd_bus_message_unref_ sd_bus_message *m = NULL;
_sd_bus_error_free_ sd_bus_error err = SD_BUS_ERROR_NULL;
_shl_free_ char *node = NULL;
int r;
@@ -284,7 +283,6 @@ int ctl_peer_connect(struct ctl_peer *p, const char *prov, const char *pin)
int ctl_peer_disconnect(struct ctl_peer *p)
{
- _sd_bus_message_unref_ sd_bus_message *m = NULL;
_sd_bus_error_free_ sd_bus_error err = SD_BUS_ERROR_NULL;
_shl_free_ char *node = NULL;
int r;