[ros-diffs] [weiden] 16953: fixed uninitialized variable warning

weiden at svn.reactos.com weiden at svn.reactos.com
Mon Aug 1 15:27:08 CEST 2005


fixed uninitialized variable warning
Modified: trunk/reactos/apps/utils/net/ftp/ftp.c
  _____  

Modified: trunk/reactos/apps/utils/net/ftp/ftp.c
--- trunk/reactos/apps/utils/net/ftp/ftp.c	2005-08-01 13:01:58 UTC
(rev 16952)
+++ trunk/reactos/apps/utils/net/ftp/ftp.c	2005-08-01 13:27:02 UTC
(rev 16953)
@@ -724,7 +724,7 @@

 void recvrequest(char *cmd, char *local, char *remote, char *mode,
                 int printnames)
 {
-	FILE *fout;
+	FILE *fout = stdout;
         int din = 0;
 	int (*closefunc)(), _pclose(), fclose();
 	void (*oldintr)(int), (*oldintp)(int);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050801/296b05ab/attachment.html


More information about the Ros-diffs mailing list