diff options
author | Eli Zaretskii <eliz@gnu.org> | 2018-11-19 21:47:40 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2018-11-19 21:47:40 +0200 |
commit | 57d5c14d2a390ca9a0a4d9fa934446150ecd16fc (patch) | |
tree | 04b18113b6523135264e74e5ada8d82b3d209b35 /lib-src | |
parent | 0e3b24586202fc60e7d8a9bff4640e76e6d54e9c (diff) | |
download | emacs-57d5c14d2a390ca9a0a4d9fa934446150ecd16fc.tar.gz |
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.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/emacsclient.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 808755ef604..187d2d7b5be 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; |