summaryrefslogtreecommitdiff
path: root/methods/http.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2023-02-07 15:12:11 +0000
committerJulian Andres Klode <jak@debian.org>2023-02-07 15:12:11 +0000
commit2ad49c2b0bc213db77ac762c7b7d622acb1a92e4 (patch)
tree9324f1de8fdcddb0377f41937a206aa9208a023a /methods/http.cc
parent2b3cda814176dcf4ccf92f38ce85e6b7cda0b88f (diff)
parent0ac3afe29cfc71c657853f06961c6c8ba9c09e5c (diff)
Merge branch 'fix/gccwarnings' into 'main'
Build with and fix warnings of gcc-13 See merge request apt-team/apt!280
Diffstat (limited to 'methods/http.cc')
-rw-r--r--methods/http.cc2
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;