Mercurial > vim
view src/testdir/if_ver-2.vim @ 17502:bc6088919610 v8.1.1749
patch 8.1.1749: Coverity warns for using negative index
commit https://github.com/vim/vim/commit/736cd2cfbe83b85259eecc7d70e68297ce968d33
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 25 21:58:19 2019 +0200
patch 8.1.1749: Coverity warns for using negative index
Problem: Coverity warns for using negative index.
Solution: Move using index inside "if".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 25 Jul 2019 22:00:05 +0200 |
parents | 94e37fd22556 |
children |
line wrap: on
line source
" Print py3 interface version and write the result into if_ver.txt. " For Ubuntu. Part 2. redir! >> if_ver.txt if 1 echo "\nPython 3:" python3 import sys; print(sys.version) echo "\n" endif redir END