changeset 6505:ce4fbb055f87

(run_msdos_command): Use assignment instead of initialization.
author Karl Heuer <kwzh@gnu.org>
date Wed, 23 Mar 1994 22:55:59 +0000
parents c867b9af8de4
children 0d4be1fbfb4d
files src/msdos.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/msdos.c	Wed Mar 23 22:55:24 1994 +0000
+++ b/src/msdos.c	Wed Mar 23 22:55:59 1994 +0000
@@ -519,8 +519,11 @@
   /* Build the environment array.  */
   {
     extern Lisp_Object Vprocess_environment;
-    Lisp_Object tmp, lst = Vprocess_environment;
-    int i, len = XFASTINT (Flength (lst));
+    Lisp_Object tmp, lst;
+    int i, len;
+
+    lst = Vprocess_environment;
+    len = XFASTINT (Flength (lst));
 
     envv = alloca ((len + 1) * sizeof (char *));
     for (i = 0; i < len; i++)