Fixed vs2008 compile error.

This commit is contained in:
Branimir Karadžić 2014-08-24 10:37:32 -07:00
parent 222fcbe75a
commit 13670dec96

View file

@ -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);