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:
parent
0e3b245862
commit
57d5c14d2a
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue