coverity 280403 (logically dead code)

set first to FALSE after the first block was dissected

svn path=/trunk/; revision=51313
This commit is contained in:
Martin Kaiser 2013-08-12 10:15:01 +00:00
parent 40607cbd27
commit f76303cd6c
1 changed files with 1 additions and 0 deletions

View File

@ -2104,6 +2104,7 @@ dissect_sip_tcp_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *
if (len == -1)
break; /* need more data */
offset += len;
first = FALSE;
}
return TRUE;
}