Changes for clean compilation with ZDS

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1603 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2009-03-14 15:46:31 +00:00
parent ea041dce05
commit 76ab89bd38
2 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ int tftpget(const char *remote, const char *local, in_addr_t addr, boolean binar
int sd; /* Socket descriptor for socket I/O */
int fd; /* File descriptor for file I/O */
int retry; /* Retry counter */
int nbytesrecvd; /* The number of bytes received in the packet */
int nbytesrecvd = 0; /* The number of bytes received in the packet */
int ndatabytes; /* The number of data bytes received */
int result = ERROR; /* Assume failure */
int ret; /* Generic return status */