Index: /trunk/Ohana/src/opihi/pcontrol/rconnect.c
===================================================================
--- /trunk/Ohana/src/opihi/pcontrol/rconnect.c	(revision 18705)
+++ /trunk/Ohana/src/opihi/pcontrol/rconnect.c	(revision 18706)
@@ -5,10 +5,10 @@
 
 /* connect to host, start the shell: ssh hostname pclient -> command hostname shell
-   stdio is an array of file descriptors (stdio[3]) 
+   stdio is an array of file descriptors (stdio[3])
 */
 
 int rconnect (char *command, char *hostname, char *shell, int *stdio) {
 
-  int i, stdin_fd[2], stdout_fd[2], stderr_fd[2], status;
+  int i = 0, stdin_fd[2], stdout_fd[2], stderr_fd[2], status;
   int result, waitstatus;
   pid_t pid;
@@ -56,5 +56,5 @@
     setvbuf (stderr, (char *) NULL, _IONBF, BUFSIZ);
 
-    status = execvp (argv[0], argv); 
+    status = execvp (argv[0], argv);
     gprint (GP_ERR, "error starting remote shell process\n");
     pcontrol_exit (60);
