1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +00:00

ctl: remove unused variables

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
This commit is contained in:
Thomas Hindoe Paaboel Andersen 2014-08-07 00:20:04 +02:00 committed by David Herrmann
parent 60e2254e9e
commit f489b45f9a

View file

@ -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) 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; _sd_bus_error_free_ sd_bus_error err = SD_BUS_ERROR_NULL;
_shl_free_ char *node = NULL; _shl_free_ char *node = NULL;
int r; 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) 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; _sd_bus_error_free_ sd_bus_error err = SD_BUS_ERROR_NULL;
_shl_free_ char *node = NULL; _shl_free_ char *node = NULL;
int r; int r;