[vte] build: Add a missing return value



commit a7419dd861f0021391cae784137bdff2a0714426
Author: Egmont Koblinger <egmont gmail com>
Date:   Mon Nov 17 12:18:09 2014 +0100

    build: Add a missing return value

 src/vtestream-file.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vtestream-file.h b/src/vtestream-file.h
index 8e7485a..47954ba 100644
--- a/src/vtestream-file.h
+++ b/src/vtestream-file.h
@@ -108,7 +108,7 @@ _file_try_truncate (_file_t *f, gsize offset)
        int ret;
 
        if (G_UNLIKELY (!_file_isopen (f)))
-               return;
+               return TRUE;
 
        do {
                ret = ftruncate (f->fd, offset);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]