- remove build warnings

git-svn-id: svn://svn.berlios.de/openocd/trunk@348 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
ntfreak
2008-02-25 20:18:26 +00:00
parent 3d6bcf0792
commit 5279d519f8
6 changed files with 6 additions and 10 deletions

View File

@@ -88,7 +88,7 @@ int remove_connection(service_t *service, connection_t *connection)
connection_t *c;
/* find connection */
while(c = *p)
while((c = *p))
{
if (c->fd == connection->fd)
{
@@ -170,7 +170,7 @@ int remove_service(unsigned short port)
service_t *c;
/* find service */
while(c = *p)
while((c = *p))
{
if (c->port == port)
{