From 58f8347e84d2820cada64c513bb0f2b81ecd494a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 10 Jul 2016 16:00:34 +0200 Subject: Fix new GCC warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-clipboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mds-clipboard.c') diff --git a/src/mds-clipboard.c b/src/mds-clipboard.c index 30213ea..5d54f79 100644 --- a/src/mds-clipboard.c +++ b/src/mds-clipboard.c @@ -648,7 +648,7 @@ int clipboard_death(const char* recv_client_id) int clipboard_add(int level, const char* time_to_live, const char* recv_client_id) { int autopurge = CLIPITEM_AUTOPURGE_UPON_CLOCK; - uint64_t client = recv_client_id ? parse_client_id(recv_client_id) : 0; + uint64_t client = parse_client_id(recv_client_id); clipitem_t new_clip; fail_if (clipboard_purge(level, NULL)); -- cgit v1.2.3-70-g09d2