summaryrefslogtreecommitdiff
path: root/src/glibext/gcodebuffer.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-01-21 21:30:17 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-01-21 21:30:17 (GMT)
commit3b58128899aa89525c25eabe9a036021481c295d (patch)
tree5c29898950a0b296a714d80e0bd0c030b114edbc /src/glibext/gcodebuffer.c
parentdd33acbff36c0a3ae4618ac5021e74448cad5ce5 (diff)
Fixed compilation and compilation warnings.
Diffstat (limited to 'src/glibext/gcodebuffer.c')
-rw-r--r--src/glibext/gcodebuffer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/glibext/gcodebuffer.c b/src/glibext/gcodebuffer.c
index f3634f0..f96212c 100644
--- a/src/glibext/gcodebuffer.c
+++ b/src/glibext/gcodebuffer.c
@@ -1020,10 +1020,14 @@ static bool _g_code_buffer_delete_lines_comment(GCodeBuffer *buffer, GBufferLine
bool g_code_buffer_delete_lines_comment(GCodeBuffer *buffer, GBufferLine *line)
{
- _g_code_buffer_delete_lines_comment(buffer, line);
+ bool result; /* Bilan à retourner */
+
+ result = _g_code_buffer_delete_lines_comment(buffer, line);
/* TODO : emit() */
+ return result;
+
}