Closed edubart closed 3 years ago
When including webview.h with -Wall -Wextra without implementation, the following warning appears:
webview.h
-Wall -Wextra
webview.h:149:20: warning: ‘webview_check_url’ defined but not used [-Wunused-function] 149 | static const char *webview_check_url(const char *url) {
It could be moved to the implementation section, other symbols like DEFAULT_URL and CSS_INJECT_FUNCTION could also go with it.
DEFAULT_URL
CSS_INJECT_FUNCTION
When including
webview.h
with-Wall -Wextra
without implementation, the following warning appears:It could be moved to the implementation section, other symbols like
DEFAULT_URL
andCSS_INJECT_FUNCTION
could also go with it.