mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-03-23 21:29:51 -04:00
Fixed warnings. Rebuilt Linux shaderc binary.
This commit is contained in:
parent
22815698ec
commit
db6cc187ca
3 changed files with 2 additions and 3 deletions
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.
|
* Delete the built-in #define's.
|
||||||
*/
|
*/
|
||||||
char **pp;
|
char **pp;
|
||||||
int i;
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -383,7 +382,7 @@ void deldefines(struct Global *global)
|
||||||
/*
|
/*
|
||||||
* The magic pre-defines __FILE__ and __LINE__
|
* 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);
|
defendel(global, *pp, TRUE);
|
||||||
}
|
}
|
||||||
#if OK_DATE
|
#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.
|
* evaleval() returns the new pointer to the top of the value stack.
|
||||||
*/
|
*/
|
||||||
int v1, v2;
|
int v1, v2 = 0;
|
||||||
|
|
||||||
if (isbinary(op))
|
if (isbinary(op))
|
||||||
v2 = *--valp;
|
v2 = *--valp;
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue