From #2868 (comment)
edges_sql
should be const char *
And all other queries that are passed.
The function never mutates the string literal pointed to by edges_sql
,
yet the parameter is declared char *
.
Changing to const char*
:
- char *edges_sql, + const char *edges_sql,
makes intent explicit and prevents accidental writes in future edits.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4