Mercurial > vim
comparison src/message.c @ 12674:e769c912fcd9 v8.0.1215
patch 8.0.1215: newer gcc warns for implicit fallthrough
commit https://github.com/vim/vim/commit/2f40d129bf45cd35976e4120336ae6d504f5a5dd
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Oct 24 21:49:36 2017 +0200
patch 8.0.1215: newer gcc warns for implicit fallthrough
Problem: Newer gcc warns for implicit fallthrough.
Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 24 Oct 2017 22:00:06 +0200 |
parents | ab0d827151a1 |
children | 351cf7c67bbe |
comparison
equal
deleted
inserted
replaced
12673:2b845e7b9727 | 12674:e769c912fcd9 |
---|---|
668 return TRUE; | 668 return TRUE; |
669 } | 669 } |
670 | 670 |
671 ex_exitval = 1; | 671 ex_exitval = 1; |
672 | 672 |
673 /* Reset msg_silent, an error causes messages to be switched back on. */ | 673 /* Reset msg_silent, an error causes messages to be switched back on. |
674 */ | |
674 msg_silent = 0; | 675 msg_silent = 0; |
675 cmd_silent = FALSE; | 676 cmd_silent = FALSE; |
676 | 677 |
677 if (global_busy) /* break :global command */ | 678 if (global_busy) /* break :global command */ |
678 ++global_busy; | 679 ++global_busy; |
2835 typeahead_noflush(':'); | 2836 typeahead_noflush(':'); |
2836 cmdline_row = Rows - 1; /* put ':' on this line */ | 2837 cmdline_row = Rows - 1; /* put ':' on this line */ |
2837 skip_redraw = TRUE; /* skip redraw once */ | 2838 skip_redraw = TRUE; /* skip redraw once */ |
2838 need_wait_return = FALSE; /* don't wait in main() */ | 2839 need_wait_return = FALSE; /* don't wait in main() */ |
2839 } | 2840 } |
2840 /*FALLTHROUGH*/ | 2841 /* FALLTHROUGH */ |
2841 case 'q': /* quit */ | 2842 case 'q': /* quit */ |
2842 case Ctrl_C: | 2843 case Ctrl_C: |
2843 case ESC: | 2844 case ESC: |
2844 #ifdef FEAT_CON_DIALOG | 2845 #ifdef FEAT_CON_DIALOG |
2845 if (confirm_msg_used) | 2846 if (confirm_msg_used) |