Fix sparse warnings and add an extra sprinkling of const.
This is more or less the equivalent of Sven-Haegar Koch's fixes in the 1.1 branch.
This commit is contained in:
parent
07ffb1a198
commit
6d08eb1614
35 changed files with 83 additions and 75 deletions
|
|
@ -189,7 +189,7 @@ void exit_requests(void) {
|
|||
}
|
||||
|
||||
bool seen_request(char *request) {
|
||||
past_request_t *new, p = {0};
|
||||
past_request_t *new, p = {NULL};
|
||||
|
||||
p.request = request;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue