diff options
| author | Julian Andres Klode <jak@debian.org> | 2023-02-07 15:12:11 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2023-02-07 15:12:11 +0000 |
| commit | 2ad49c2b0bc213db77ac762c7b7d622acb1a92e4 (patch) | |
| tree | 9324f1de8fdcddb0377f41937a206aa9208a023a /methods/ftp.cc | |
| parent | 2b3cda814176dcf4ccf92f38ce85e6b7cda0b88f (diff) | |
| parent | 0ac3afe29cfc71c657853f06961c6c8ba9c09e5c (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/ftp.cc')
| -rw-r--r-- | methods/ftp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/ftp.cc b/methods/ftp.cc index 16236232a..aa0c0692c 100644 --- a/methods/ftp.cc +++ b/methods/ftp.cc @@ -1115,7 +1115,7 @@ bool FtpMethod::Fetch(FetchItem *Itm) URIStart(Res); FailFile = Itm->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 = Fd.Fd(); bool Missing; |
