Fixed vs2008 compile error.
This commit is contained in:
parent
222fcbe75a
commit
13670dec96
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 New Issue
Block a user