aboutsummaryrefslogtreecommitdiffstats
path: root/src/callproc.c
diff options
context:
space:
mode:
authorJuanma Barranquero2013-07-23 03:11:40 +0200
committerJuanma Barranquero2013-07-23 03:11:40 +0200
commitafacaa1b181c04800688face1880fbfd410a9cee (patch)
tree530c35cd1195f22d12c62be48b50c5d6b4f12cec /src/callproc.c
parentb61d71e44f34c887107b0ca84371c67b904426df (diff)
downloademacs-afacaa1b181c04800688face1880fbfd410a9cee.tar.gz
emacs-afacaa1b181c04800688face1880fbfd410a9cee.zip
src/callproc.c (child_setup): Silence compiler warnings.
Diffstat (limited to 'src/callproc.c')
-rw-r--r--src/callproc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/callproc.c b/src/callproc.c
index 282a08056f8..91f29bd589b 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -1193,13 +1193,14 @@ child_setup (int in, int out, int err, char **new_argv, bool set_pgrp,
1193{ 1193{
1194 char **env; 1194 char **env;
1195 char *pwd_var; 1195 char *pwd_var;
1196 int exec_errno;
1197#ifdef WINDOWSNT 1196#ifdef WINDOWSNT
1198 int cpid; 1197 int cpid;
1199 HANDLE handles[3]; 1198 HANDLE handles[3];
1200#endif /* WINDOWSNT */ 1199#else
1200 int exec_errno;
1201 1201
1202 pid_t pid = getpid (); 1202 pid_t pid = getpid ();
1203#endif /* WINDOWSNT */
1203 1204
1204 /* Note that use of alloca is always safe here. It's obvious for systems 1205 /* Note that use of alloca is always safe here. It's obvious for systems
1205 that do not have true vfork or that have true (stack) alloca. 1206 that do not have true vfork or that have true (stack) alloca.