mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-24 16:48:18 -05: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.
|
||||
*/
|
||||
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;
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue