summaryrefslogtreecommitdiff
path: root/src/socket-proxy
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-06-06 23:29:09 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-06-06 23:31:25 +0200
commite5a1c18d706c4d5e16100fe4fb8a07a80f2fa339 (patch)
treeb7306e2fa9d9cd58fa8e2b1295ea81e0586bd0a3 /src/socket-proxy
parent445743035336bf9691d200b8417685186ef9b5f9 (diff)
fix warnings
Prevent use of uninitialized variable and removed a now unused cleanup function for freeaddrinfo
Diffstat (limited to 'src/socket-proxy')
-rw-r--r--src/socket-proxy/socket-proxyd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/socket-proxy/socket-proxyd.c b/src/socket-proxy/socket-proxyd.c
index d54a05a087..b791305dc5 100644
--- a/src/socket-proxy/socket-proxyd.c
+++ b/src/socket-proxy/socket-proxyd.c
@@ -47,9 +47,6 @@
static const char *arg_remote_host = NULL;
-#define _cleanup_freeaddrinfo_ _cleanup_(freeaddrinfop)
-DEFINE_TRIVIAL_CLEANUP_FUNC(struct addrinfo *, freeaddrinfo);
-
typedef struct Context {
sd_event *event;
sd_resolve *resolve;