diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2026-05-26 18:25:13 -0700 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2026-05-26 19:36:00 -0700 |
| commit | 02897e208d005956f84aa228f4f298f260133896 (patch) | |
| tree | 604fbc64a8cb0bce21ba47c4f19d4d3e916bcb86 /lib-src | |
| parent | c6181780663a32729e150c8d57222a6579691af6 (diff) | |
emacsclient quote_argument is void
* lib-src/emacsclient.c (quote_argument):
Don’t use ‘return E;’ in a function returning void.
Problem found by Oracle Developer Studio 12.6.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/emacsclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
