aboutsummaryrefslogtreecommitdiff
path: root/slirp/ip_icmp.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-01-05 14:18:45 +0100
committerJan Kiszka <jan.kiszka@siemens.com>2012-02-08 10:07:54 +0100
commit9f1134d4aac64ea427453fc7c7f8cab39f4fe3da (patch)
tree5d1e356b9ef7562505e1a8b8087fbdd4fa502be9 /slirp/ip_icmp.c
parentcf4dc461a4cfc3e056ee24edb26154f4d34a6278 (diff)
slirp: Remove unused variable and unused code
9634d9031c140b24c7ca0d8872632207f6ce7275 disabled unused code. This patch removes what was left. If do_pty is 2, the function returns immediately, so any later checks for do_pty == 2 will always fail and can be removed together with the code which is never executed. Then variable master is unused and can be removed, too. This issue was detected by coverity. Cc: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'slirp/ip_icmp.c')
0 files changed, 0 insertions, 0 deletions