mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Fixed warnings. Rebuilt Linux shaderc binary.
This commit is contained in:
3
3rdparty/fcpp/cpp3.c
vendored
3
3rdparty/fcpp/cpp3.c
vendored
@@ -369,7 +369,6 @@ void deldefines(struct Global *global)
|
||||
* Delete the built-in #define's.
|
||||
*/
|
||||
char **pp;
|
||||
int i;
|
||||
|
||||
|
||||
/*
|
||||
@@ -383,7 +382,7 @@ void deldefines(struct Global *global)
|
||||
/*
|
||||
* The magic pre-defines __FILE__ and __LINE__
|
||||
*/
|
||||
for (pp = global->magic, i = DEF_NOARGS; *pp != NULL; pp++) {
|
||||
for (pp = global->magic; *pp != NULL; pp++) {
|
||||
defendel(global, *pp, TRUE);
|
||||
}
|
||||
#if OK_DATE
|
||||
|
||||
2
3rdparty/fcpp/cpp5.c
vendored
2
3rdparty/fcpp/cpp5.c
vendored
@@ -806,7 +806,7 @@ int *evaleval(struct Global *global,
|
||||
*
|
||||
* evaleval() returns the new pointer to the top of the value stack.
|
||||
*/
|
||||
int v1, v2;
|
||||
int v1, v2 = 0;
|
||||
|
||||
if (isbinary(op))
|
||||
v2 = *--valp;
|
||||
|
||||
Reference in New Issue
Block a user