You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The target of name is dynamically allocated so not so constant after all. free(name) causes a warning because free wants (obviously) a non-constant input.
At first thanks for your great project! Nice to see all its progress and continuously better integration as ESP component.
Quite simple issue here: We get a compile warning which can be easily avoided in
frogfs/src/vfs.c
Line 216 in bf6173f
The target of name is dynamically allocated so not so constant after all. free(name) causes a warning because free wants (obviously) a non-constant input.
Several easy solutions:
const char *name = frogfs_get_name(entry);
-->char *name = frogfs_get_name(entry);
free(name)
-->free((char*) name)
free(name)
-->free((void*) name)
I can create a PR for this if it helps but I am not sure which is your favorite solution.
The text was updated successfully, but these errors were encountered: