forked from enlightenment/efl
evas: Fixed warning for uninitialized variables
Summary: Warning fixed of evas modules/evas/engines/gl_common/evas_gl_context.c: In function 'evas_gl_common_context_new': modules/evas/engines/gl_common/evas_gl_context.c:392:32: warning: 'minor' may be used uninitialized in this function [-Wuninitialized] modules/evas/engines/gl_common/evas_gl_context.c:314:8: note: 'minor' was declared here modules/evas/engines/gl_common/evas_gl_context.c:392:16: warning: 'major' may be used uninitialized in this function [-Wuninitialized] modules/evas/engines/gl_common/evas_gl_context.c:313:8: note: 'major' was declared here @fix Compilation Warning Fixed Test Plan: Compile efl Reviewers: singh.amitesh CC: seoz, cedric Differential Revision: https://phab.enlightenment.org/D656
This commit is contained in:
parent
caad83c988
commit
caabcbe408
|
@ -310,8 +310,8 @@ _evas_gl_common_version_check()
|
|||
char *version;
|
||||
char *tmp;
|
||||
char *tmp2;
|
||||
int major;
|
||||
int minor;
|
||||
int major = 0;
|
||||
int minor = 0;
|
||||
|
||||
/*
|
||||
* glGetString returns a string describing the current GL connection.
|
||||
|
|
Loading…
Reference in New Issue