Mercurial > vim
comparison src/version.c @ 11281:2e6a0ea76a0d v8.0.0526
patch 8.0.0526: Coverity complains about possible negative value
commit https://github.com/vim/vim/commit/85325f839a14212c7d517a4cb3464c347bfd0c1e
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 30 21:18:45 2017 +0200
patch 8.0.0526: Coverity complains about possible negative value
Problem: Coverity complains about possible negative value.
Solution: Check return value of ftell() not to be negative.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 30 Mar 2017 21:30:05 +0200 |
parents | b19377368387 |
children | abc08a2461ea |
comparison
equal
deleted
inserted
replaced
11280:f8690bedf784 | 11281:2e6a0ea76a0d |
---|---|
762 NULL | 762 NULL |
763 }; | 763 }; |
764 | 764 |
765 static int included_patches[] = | 765 static int included_patches[] = |
766 { /* Add new patch number below this line */ | 766 { /* Add new patch number below this line */ |
767 /**/ | |
768 526, | |
767 /**/ | 769 /**/ |
768 525, | 770 525, |
769 /**/ | 771 /**/ |
770 524, | 772 524, |
771 /**/ | 773 /**/ |