mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
files: please syntax-check
* src/files.c (string_free): syntax-check does not want us to cast arguments to free.
This commit is contained in:
@@ -235,9 +235,10 @@ string_hash (const void *x)
|
||||
}
|
||||
|
||||
static void
|
||||
string_free (const void *p)
|
||||
string_free (const void *cp)
|
||||
{
|
||||
free ((void*) p);
|
||||
void *p = (void*) cp;
|
||||
free (p);
|
||||
}
|
||||
|
||||
const char *
|
||||
|
||||
Reference in New Issue
Block a user