From 02897e208d005956f84aa228f4f298f260133896 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 26 May 2026 18:25:13 -0700 Subject: [PATCH] emacsclient quote_argument is void MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * lib-src/emacsclient.c (quote_argument): Don’t use ‘return E;’ in a function returning void. Problem found by Oracle Developer Studio 12.6. --- lib-src/emacsclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 0769c94a89d..9df20d8524b 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -902,7 +902,7 @@ quote_argument_len (HSOCKET s, const char *str, ptrdiff_t len) static void quote_argument (HSOCKET s, const char *str) { - return quote_argument_len (s, str, strlen (str)); + quote_argument_len (s, str, strlen (str)); } /* The inverse of quote_argument. Remove quoting in string STR by