[cogl/wip/standalone: 8/13] context: Silence a gcc warning about not returning a value



commit 53933e5bcc800b5730bccb370e12ba7683d199ff
Author: Damien Lespiau <damien lespiau intel com>
Date:   Mon Feb 27 14:30:31 2012 +0000

    context: Silence a gcc warning about not returning a value
    
    That code path should not be taken anyway, just return TRUE to silence
    the compiler.

 cogl/cogl-context.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-context.c b/cogl/cogl-context.c
index 49a836a..5049522 100644
--- a/cogl/cogl-context.c
+++ b/cogl/cogl-context.c
@@ -586,6 +586,7 @@ _cogl_context_update_features (CoglContext *context,
 #endif
 
   _COGL_ASSERT_NOT_REACHED;
+  return TRUE;
 }
 
 void



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