>From f7bb0858dd0e2def5c777337d333da622a7ef743 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Sat, 28 Mar 2015 14:14:04 +0100 Subject: [PATCH 2/5] Remove unused parameter from get_pipe_name --- proxy/src/client/gpm_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/src/client/gpm_common.c b/proxy/src/client/gpm_common.c index 46511942dfe72b638c187a5991291ff4e393045b..3518c095401cdcb6bd6324ed1c3798aa6454eea1 100644 --- a/proxy/src/client/gpm_common.c +++ b/proxy/src/client/gpm_common.c @@ -63,7 +63,7 @@ static void gpm_init_once(void) pthread_mutexattr_destroy(&attr); } -static int get_pipe_name(struct gpm_ctx *gpmctx, char *name) +static int get_pipe_name(char *name) { const char *socket; int ret; @@ -88,7 +88,7 @@ static int gpm_open_socket(struct gpm_ctx *gpmctx) int ret; int fd = -1; - ret = get_pipe_name(gpmctx, name); + ret = get_pipe_name(name); if (ret) { return ret; } -- 2.3.4