Commit 6ab88e02 authored by Juanma Barranquero's avatar Juanma Barranquero

* emacsclient.c (main): Remove unused variables.

  (start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
parent 5f874327
2010-09-29 Juanma Barranquero <lekktu@gmail.com>
* emacsclient.c (main): Remove unused variables.
(start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
2010-09-25 Ulrich Mueller <ulm@gentoo.org>
* etags.c (compressors, print_language_names): Support xz compression.
......
......@@ -1476,7 +1476,7 @@ start_daemon_and_retry_set_socket (void)
else if (dpid < 0)
{
fprintf (stderr, "Error: Cannot fork!\n");
exit (1);
exit (EXIT_FAILURE);
}
else
{
......@@ -1576,8 +1576,6 @@ main (int argc, char **argv)
int i;
for (i = 0; environ[i]; i++)
{
char *name = xstrdup (environ[i]);
char *value = strchr (name, '=');
send_to_emacs (emacs_socket, "-env ");
quote_argument (emacs_socket, environ[i]);
send_to_emacs (emacs_socket, " ");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment