Eliminate warnings in ARM build

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@883 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2008-09-06 02:19:47 +00:00
parent 78eaa15541
commit 5d0513e1a1
4 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -262,7 +262,7 @@ int tftpget(const char *remote, const char *local, in_addr_t addr, boolean binar
/* Parse the incoming DATA packet */
if (nbytesrecvd < TFTP_DATAHEADERSIZE ||
tftp_parsedatapacket(packet, &opcode, &blockno) != OK ||
tftp_parsedatapacket(packet, &opcode, &rblockno) != OK ||
blockno != rblockno)
{
nvdbg("Parse failure\n");
+1 -1
View File
@@ -96,7 +96,7 @@ static inline int tftp_incrndx(int ndx)
static inline ssize_t tftp_read(int fd, ubyte *buf, size_t buflen)
{
ssize_t nbytesread;
ssize_t totalread;
ssize_t totalread = 0;
while (totalread < buflen)
{