Mercurial > vim
comparison src/ex_getln.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 | 42cd1f315e8b |
children | 37c384802df4 |
comparison
equal
deleted
inserted
replaced
12673:2b845e7b9727 | 12674:e769c912fcd9 |
---|---|
1561 if (nextwild(&xpc, (c == Ctrl_P) ? WILD_PREV : WILD_NEXT, | 1561 if (nextwild(&xpc, (c == Ctrl_P) ? WILD_PREV : WILD_NEXT, |
1562 0, firstc != '@') == FAIL) | 1562 0, firstc != '@') == FAIL) |
1563 break; | 1563 break; |
1564 goto cmdline_not_changed; | 1564 goto cmdline_not_changed; |
1565 } | 1565 } |
1566 #ifdef FEAT_CMDHIST | |
1566 /* FALLTHROUGH */ | 1567 /* FALLTHROUGH */ |
1567 | |
1568 #ifdef FEAT_CMDHIST | |
1569 case K_UP: | 1568 case K_UP: |
1570 case K_DOWN: | 1569 case K_DOWN: |
1571 case K_S_UP: | 1570 case K_S_UP: |
1572 case K_S_DOWN: | 1571 case K_S_DOWN: |
1573 case K_PAGEUP: | 1572 case K_PAGEUP: |