[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 57d5c14: Avoid compiler warning in emacsclient.c
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master 57d5c14: Avoid compiler warning in emacsclient.c |
Date: |
Mon, 19 Nov 2018 14:48:06 -0500 (EST) |
branch: master
commit 57d5c14d2a390ca9a0a4d9fa934446150ecd16fc
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Avoid compiler warning in emacsclient.c
* 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 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index 808755e..187d2d7 100644
--- 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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 57d5c14: Avoid compiler warning in emacsclient.c,
Eli Zaretskii <=