summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/packet.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-20 17:10:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-20 17:10:20 +0000
commit9fa8263a72abad798dca3f27f3954b741bbe0edf (patch)
tree8fcbc2b4e2d080e1d82b1aebc39968526329ef76 /usr.bin/ssh/packet.c
parentf289dd83a29c9231b0e0a981ad5c3218b24b90c0 (diff)
in a switch (), break after return or goto is stupid
Diffstat (limited to 'usr.bin/ssh/packet.c')
-rw-r--r--usr.bin/ssh/packet.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.bin/ssh/packet.c b/usr.bin/ssh/packet.c
index 2a30ef2107c..ea9f6aa2098 100644
--- a/usr.bin/ssh/packet.c
+++ b/usr.bin/ssh/packet.c
@@ -1184,7 +1184,6 @@ packet_read_poll_seqnr(u_int32_t *seqnr_p)
break;
default:
return type;
- break;
}
} else {
type = packet_read_poll1();
@@ -1207,7 +1206,6 @@ packet_read_poll_seqnr(u_int32_t *seqnr_p)
if (type)
DBG(debug("received packet type %d", type));
return type;
- break;
}
}
}