Mercurial > vim
comparison src/normal.c @ 13762:9de2b25932eb v8.0.1753
patch 8.0.1753: various warnings from a static analyser
commit https://github.com/vim/vim/commit/1c17ffa4611f4efe68c61f7cdd9ed692a866ba75
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Apr 24 15:19:04 2018 +0200
patch 8.0.1753: various warnings from a static analyser
Problem: Various warnings from a static analyser
Solution: Add type casts, remove unneeded conditions. (Christian Brabandt,
closes #2770)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 24 Apr 2018 15:30:08 +0200 |
parents | 6740c499de13 |
children | cc21507ee4b1 |
comparison
equal
deleted
inserted
replaced
13761:ddd0ad66922b | 13762:9de2b25932eb |
---|---|
2608 /* It's like clicking on the status line of a window. */ | 2608 /* It's like clicking on the status line of a window. */ |
2609 if (curwin != old_curwin) | 2609 if (curwin != old_curwin) |
2610 end_visual_mode(); | 2610 end_visual_mode(); |
2611 } | 2611 } |
2612 } | 2612 } |
2613 else if (c1 < 0) | 2613 else |
2614 { | 2614 { |
2615 tabpage_T *tp; | 2615 tabpage_T *tp; |
2616 | 2616 |
2617 /* Close the current or specified tab page. */ | 2617 /* Close the current or specified tab page. */ |
2618 if (c1 == -999) | 2618 if (c1 == -999) |