mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Fixed vs2008 compile error.
This commit is contained in:
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);
|
||||
|
||||
Reference in New Issue
Block a user