changeset 16097:d45e42b45470 v8.1.1053

patch 8.1.1053: warning for missing return statement commit https://github.com/vim/vim/commit/d6c3f1fa2b5e1dd7dc87cf608d72b84ad696b58f Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 26 00:31:21 2019 +0100 patch 8.1.1053: warning for missing return statement Problem: Warning for missing return statement. (Dominique Pelle) Solution: Add return statement.
author Bram Moolenaar <Bram@vim.org>
date Tue, 26 Mar 2019 00:45:05 +0100
parents 4b95b97c09ec
children 8b7c4bb10373
files src/undo.c src/version.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/undo.c
+++ b/src/undo.c
@@ -3541,6 +3541,7 @@ anyBufIsChanged(void)
     FOR_ALL_BUFFERS(buf)
 	if (bufIsChanged(buf))
 	    return TRUE;
+    return FALSE;
 }
 
 /*
--- a/src/version.c
+++ b/src/version.c
@@ -776,6 +776,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1053,
+/**/
     1052,
 /**/
     1051,