annotate runtime/indent/cpp.vim @ 23988:686af23ec132
v8.2.2536
patch 8.2.2536: Coverity complains about unchecked return value
Commit: https://github.com/vim/vim/commit/dc167465f87a4f03f9e085597dfcfdde39fcd2b9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 20 20:26:16 2021 +0100
patch 8.2.2536: Coverity complains about unchecked return value
Problem: Coverity complains about unchecked return value.
Solution: Add (void).
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sat, 20 Feb 2021 20:30:03 +0100 |
parents |
7bc41231fbc7 |
children |
4027cefc2aab |
rev |
line source |
7
|
1 " Vim indent file
|
|
2 " Language: C++
|
|
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
|
2034
|
4 " Last Change: 2008 Nov 29
|
7
|
5
|
|
6 " Only load this indent file when no other was loaded.
|
|
7 if exists("b:did_indent")
|
|
8 finish
|
|
9 endif
|
|
10 let b:did_indent = 1
|
|
11
|
|
12 " C++ indenting is built-in, thus this is very simple
|
|
13 setlocal cindent
|
2034
|
14
|
|
15 let b:undo_indent = "setl cin<"
|