diff options
| author | Eli Zaretskii | 2018-11-19 21:47:40 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2018-11-19 21:47:40 +0200 |
| commit | 57d5c14d2a390ca9a0a4d9fa934446150ecd16fc (patch) | |
| tree | 04b18113b6523135264e74e5ada8d82b3d209b35 /lib-src | |
| parent | 0e3b24586202fc60e7d8a9bff4640e76e6d54e9c (diff) | |
| download | emacs-57d5c14d2a390ca9a0a4d9fa934446150ecd16fc.tar.gz emacs-57d5c14d2a390ca9a0a4d9fa934446150ecd16fc.zip | |
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; | |||
| 132 | is not running. --alternate-editor. */ | 132 | is not running. --alternate-editor. */ |
| 133 | static char *alternate_editor; | 133 | static char *alternate_editor; |
| 134 | 134 | ||
| 135 | #ifndef NO_SOCKETS_IN_FILE_SYSTEM | ||
| 135 | /* If non-NULL, the filename of the UNIX socket. */ | 136 | /* If non-NULL, the filename of the UNIX socket. */ |
| 136 | static char const *socket_name; | 137 | static char const *socket_name; |
| 138 | #endif | ||
| 137 | 139 | ||
| 138 | /* If non-NULL, the filename of the authentication file. */ | 140 | /* If non-NULL, the filename of the authentication file. */ |
| 139 | static char const *server_file; | 141 | static char const *server_file; |