summaryrefslogtreecommitdiff
path: root/Demo/Common
diff options
context:
space:
mode:
authorRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2008-10-17 13:23:28 +0000
committerRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2008-10-17 13:23:28 +0000
commit2b0be9065b47ce3693ea7439548b921fea650702 (patch)
treeaf4c933f462d6ab3b4b31f98506ae9155c33086a /Demo/Common
parent1420e01757931a763f75421d7febc5cf1b8bbba5 (diff)
downloadfreertos-2b0be9065b47ce3693ea7439548b921fea650702.tar.gz
freertos-2b0be9065b47ce3693ea7439548b921fea650702.tar.bz2
freertos-2b0be9065b47ce3693ea7439548b921fea650702.tar.xz
Remove some compiler warnings generated by CodeWarrior.
git-svn-id: https://freertos.svn.sourceforge.net/svnroot/freertos/trunk@493 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'Demo/Common')
-rw-r--r--Demo/Common/ethernet/lwIP_130/src/core/tcp_out.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Demo/Common/ethernet/lwIP_130/src/core/tcp_out.c b/Demo/Common/ethernet/lwIP_130/src/core/tcp_out.c
index 1cf479bf..a116d3c2 100644
--- a/Demo/Common/ethernet/lwIP_130/src/core/tcp_out.c
+++ b/Demo/Common/ethernet/lwIP_130/src/core/tcp_out.c
@@ -320,7 +320,7 @@ tcp_enqueue(struct tcp_pcb *pcb, void *arg, u16_t len,
useg = NULL;
}
else {
- for (useg = pcb->unsent; useg->next != NULL; useg = useg->next);
+ for (useg = pcb->unsent; useg->next != NULL; useg = useg->next){}
}
/* { useg is last segment on the unsent queue, NULL if list is empty } */
@@ -433,7 +433,7 @@ tcp_output(struct tcp_pcb *pcb)
/* useg should point to last segment on unacked queue */
useg = pcb->unacked;
if (useg != NULL) {
- for (; useg->next != NULL; useg = useg->next);
+ for (; useg->next != NULL; useg = useg->next){}
}
/* If the TF_ACK_NOW flag is set and no data will be sent (either
@@ -741,7 +741,7 @@ tcp_rexmit_rto(struct tcp_pcb *pcb)
}
/* Move all unacked segments to the head of the unsent queue */
- for (seg = pcb->unacked; seg->next != NULL; seg = seg->next);
+ for (seg = pcb->unacked; seg->next != NULL; seg = seg->next){}
/* concatenate unsent queue after unacked queue */
seg->next = pcb->unsent;
/* unsent queue is the concatenated queue (of unacked, unsent) */