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.
This commit is contained in:
Eli Zaretskii 2018-11-19 21:47:40 +02:00
parent 0e3b245862
commit 57d5c14d2a

View file

@ -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;