projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e3b245
)
Avoid compiler warning in emacsclient.c
author
Eli Zaretskii
<eliz@gnu.org>
Mon, 19 Nov 2018 19:47:40 +0000
(21:47 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Mon, 19 Nov 2018 19:47:40 +0000
(21:47 +0200)
* lib-src/emacsclient.c (socket_name): Define only if
NO_SOCKETS_IN_FILE_SYSTEM is not defined, to avoid a compiler
warning.
lib-src/emacsclient.c
patch
|
blob
|
history
diff --git
a/lib-src/emacsclient.c
b/lib-src/emacsclient.c
index 808755ef6043574e1567f9e29a905253b4e470f1..187d2d7b5be605389df8f44b8318b58448cbbddb 100644
(file)
--- a/
lib-src/emacsclient.c
+++ b/
lib-src/emacsclient.c
@@
-132,8
+132,10
@@
static bool tty;
is not running. --alternate-editor. */
static char *alternate_editor;
+#ifndef NO_SOCKETS_IN_FILE_SYSTEM
/* If non-NULL, the filename of the UNIX socket. */
static char const *socket_name;
+#endif
/* If non-NULL, the filename of the authentication file. */
static char const *server_file;