summaryrefslogtreecommitdiff
path: root/packet.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-26 14:02:35 +1100
committerDamien Miller <djm@mindrot.org>2006-03-26 14:02:35 +1100
commit69b7203e6f7c93419aa1a0862962e128d68679e1 (patch)
treed9cd982618547be4c12221cd74acef834b7cc5f4 /packet.c
parent429fcc23db22469ca48d18ad4a2940a265965caf (diff)
- deraadt@cvs.openbsd.org 2006/03/20 17:10:19
[auth.c key.c misc.c packet.c ssh-add.c] in a switch (), break after return or goto is stupid
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/packet.c b/packet.c
index a1e7d32f6..65fb31d2e 100644
--- a/packet.c
+++ b/packet.c
@@ -1188,7 +1188,6 @@ packet_read_poll_seqnr(u_int32_t *seqnr_p)
1188 break; 1188 break;
1189 default: 1189 default:
1190 return type; 1190 return type;
1191 break;
1192 } 1191 }
1193 } else { 1192 } else {
1194 type = packet_read_poll1(); 1193 type = packet_read_poll1();
@@ -1211,7 +1210,6 @@ packet_read_poll_seqnr(u_int32_t *seqnr_p)
1211 if (type) 1210 if (type)
1212 DBG(debug("received packet type %d", type)); 1211 DBG(debug("received packet type %d", type));
1213 return type; 1212 return type;
1214 break;
1215 } 1213 }
1216 } 1214 }
1217 } 1215 }