Module Name:    src
Committed By:   shm
Date:           Wed Jul 20 20:18:21 UTC 2016

Modified Files:
        src/libexec/tftpd: tftpd.c

Log Message:
CID 976523: add FALLTHROUGH


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/libexec/tftpd/tftpd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/tftpd/tftpd.c
diff -u src/libexec/tftpd/tftpd.c:1.44 src/libexec/tftpd/tftpd.c:1.45
--- src/libexec/tftpd/tftpd.c:1.44	Tue May  5 05:50:31 2015
+++ src/libexec/tftpd/tftpd.c	Wed Jul 20 20:18:21 2016
@@ -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, 19
 #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));

Reply via email to