[cogl/cogl-1.20] Avoid compiler error for uninitialized value
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/cogl-1.20] Avoid compiler error for uninitialized value
- Date: Wed, 10 Jun 2015 17:42:52 +0000 (UTC)
commit 0ad995746a32cce5709d718442c10b3b9ba1edee
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Jun 10 18:41:49 2015 +0100
Avoid compiler error for uninitialized value
Fixes Cogl compilation on build.gnome.org.
cogl/cogl-blend-string.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/cogl/cogl-blend-string.c b/cogl/cogl-blend-string.c
index 16cb3ab..5d876bf 100644
--- a/cogl/cogl-blend-string.c
+++ b/cogl/cogl-blend-string.c
@@ -473,7 +473,7 @@ parse_argument (const char *string, /* original user string */
const char *error_string = NULL;
ParserArgState state = PARSER_ARG_STATE_START;
CoglBool parsing_factor = FALSE;
- CoglBool implicit_factor_brace;
+ CoglBool implicit_factor_brace = FALSE;
arg->source.is_zero = FALSE;
arg->source.info = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]