mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-24 16:48:18 -05:00
Fixed vs2008 compile error.
This commit is contained in:
parent
222fcbe75a
commit
13670dec96
1 changed files with 1 additions and 2 deletions
3
3rdparty/fcpp/cpp6.c
vendored
3
3rdparty/fcpp/cpp6.c
vendored
|
@ -481,9 +481,8 @@ char *savestring(struct Global *global, char *text)
|
|||
/*
|
||||
* Store a string into free memory.
|
||||
*/
|
||||
(void)global; // BK - not used but causes warning.
|
||||
|
||||
char *result;
|
||||
(void)global; // BK - not used but causes warning.
|
||||
result = malloc(strlen(text) + 1);
|
||||
strcpy(result, text);
|
||||
return (result);
|
||||
|
|
Loading…
Reference in a new issue