Fix clint issues

This commit is contained in:
Marco Hinz
2017-01-09 20:49:47 +01:00
committed by James McCoy
parent d3f97232e8
commit b0cf071d43
5 changed files with 24 additions and 19 deletions

View File

@@ -274,7 +274,8 @@ open_buffer (
///
/// @param bufref Reference to be used for the buffer.
/// @param buf The buffer to reference.
void set_bufref(bufref_T *bufref, buf_T *buf) {
void set_bufref(bufref_T *bufref, buf_T *buf)
{
bufref->br_buf = buf;
bufref->br_buf_free_count = buf_free_count;
}
@@ -284,7 +285,8 @@ void set_bufref(bufref_T *bufref, buf_T *buf) {
/// Only goes through the buffer list if buf_free_count changed.
///
/// @param bufref Buffer reference to check for.
bool bufref_valid(bufref_T *bufref) {
bool bufref_valid(bufref_T *bufref)
{
return bufref->br_buf_free_count == buf_free_count
? true
: buf_valid(bufref->br_buf);