diff options
| author | David Kalnischkies <david@kalnischkies.de> | 2023-01-29 13:54:02 +0100 |
|---|---|---|
| committer | David Kalnischkies <david@kalnischkies.de> | 2023-01-29 13:59:30 +0100 |
| commit | 0ac3afe29cfc71c657853f06961c6c8ba9c09e5c (patch) | |
| tree | 9324f1de8fdcddb0377f41937a206aa9208a023a /methods/http.cc | |
| parent | 3c9ff866affaae10303de04f647220a16bf7e27a (diff) | |
Ignore return of .c_str() in preemptive call for signal handler
Reported-By: gcc-13 -Wunused-result
Gbp-Dch: Ignore
Diffstat (limited to 'methods/http.cc')
| -rw-r--r-- | methods/http.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/http.cc b/methods/http.cc index 2a5ab2cd2..b4519a890 100644 --- a/methods/http.cc +++ b/methods/http.cc @@ -1008,7 +1008,7 @@ BaseHttpMethod::DealWithHeadersResult HttpMethod::DealWithHeaders(FetchResult &R return ERROR_NOT_FROM_SERVER; FailFile = Queue->DestFile; - FailFile.c_str(); // Make sure we don't do a malloc in the signal handler + (void)(FailFile.c_str()); // Make sure we don't do a malloc in the signal handler FailFd = Req.File.Fd(); FailTime = Req.Date; |
