From 2ecb6f7b20a501818f1bc6fea3406b9fce557a27 Mon Sep 17 00:00:00 2001 From: Halton Huo Date: Tue, 9 Feb 2010 10:21:37 +0000 Subject: [PATCH] Remove return from void functions This patch fixes compilation on suncc. http://bugzilla.openedhand.com/show_bug.cgi?id=1978 Signed-off-by: Emmanuele Bassi --- cogl/cogl-buffer.c | 2 +- cogl/cogl-sub-texture.c | 2 +- cogl/cogl-texture.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cogl/cogl-buffer.c b/cogl/cogl-buffer.c index 49374706f..89e0a0579 100644 --- a/cogl/cogl-buffer.c +++ b/cogl/cogl-buffer.c @@ -267,7 +267,7 @@ cogl_buffer_unmap_EXP (CoglHandle handle) if (!COGL_BUFFER_FLAG_IS_SET (buffer, MAPPED)) return; - return buffer->vtable->unmap (buffer); + buffer->vtable->unmap (buffer); } gboolean diff --git a/cogl/cogl-sub-texture.c b/cogl/cogl-sub-texture.c index 53b4d58cc..bd23c857f 100644 --- a/cogl/cogl-sub-texture.c +++ b/cogl/cogl-sub-texture.c @@ -317,7 +317,7 @@ _cogl_sub_texture_transform_coords_to_gl (CoglTexture *tex, *t = ((*t * sub_tex->sub_height + sub_tex->sub_y) / cogl_texture_get_height (sub_tex->full_texture)); - return _cogl_texture_transform_coords_to_gl (sub_tex->full_texture, s, t); + _cogl_texture_transform_coords_to_gl (sub_tex->full_texture, s, t); } static gboolean diff --git a/cogl/cogl-texture.c b/cogl/cogl-texture.c index 4c6d862be..77005eb9b 100644 --- a/cogl/cogl-texture.c +++ b/cogl/cogl-texture.c @@ -734,7 +734,7 @@ _cogl_texture_ensure_non_quad_rendering (CoglHandle handle) tex = COGL_TEXTURE (handle); - return tex->vtable->ensure_non_quad_rendering (tex); + tex->vtable->ensure_non_quad_rendering (tex); } gboolean