Mercurial > vim
comparison src/undo.c @ 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 | 4411c38f3d16 |
children | 840fa633ad64 |
comparison
equal
deleted
inserted
replaced
16096:4b95b97c09ec | 16097:d45e42b45470 |
---|---|
3539 buf_T *buf; | 3539 buf_T *buf; |
3540 | 3540 |
3541 FOR_ALL_BUFFERS(buf) | 3541 FOR_ALL_BUFFERS(buf) |
3542 if (bufIsChanged(buf)) | 3542 if (bufIsChanged(buf)) |
3543 return TRUE; | 3543 return TRUE; |
3544 return FALSE; | |
3544 } | 3545 } |
3545 | 3546 |
3546 /* | 3547 /* |
3547 * Like bufIsChanged() but ignoring a terminal window. | 3548 * Like bufIsChanged() but ignoring a terminal window. |
3548 */ | 3549 */ |