CID 976523: add FALLTHROUGH

This commit is contained in:
shm 2016-07-20 20:18:21 +00:00
parent 353946982c
commit ef0b7ea3b6

View File

@ -1,4 +1,4 @@
/* $NetBSD: tftpd.c,v 1.44 2015/05/05 05:50:31 buhrow Exp $ */
/* $NetBSD: tftpd.c,v 1.45 2016/07/20 20:18:21 shm Exp $ */
/*
* Copyright (c) 1983, 1993
@ -36,7 +36,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\
#if 0
static char sccsid[] = "@(#)tftpd.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: tftpd.c,v 1.44 2015/05/05 05:50:31 buhrow Exp $");
__RCSID("$NetBSD: tftpd.c,v 1.45 2016/07/20 20:18:21 shm Exp $");
#endif
#endif /* not lint */
@ -1018,6 +1018,7 @@ send_data:
(void) synchnet(peer, tftp_blksize);
if (ap->th_block == (u_short)(block - 1))
goto send_data;
/* FALLTHROUGH */
default:
syslog(LOG_INFO, "Received %s in sendfile\n",
opcode(dp->th_opcode));