diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2020-02-26 18:26:13 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2020-02-26 18:59:31 +0100 |
commit | d36b06d7eb300ca5cbee22b4fcedaefc80585da1 (patch) | |
tree | 78f28596305b50bd7cc8c87a8a15eda77b5480ff /apt-pkg/contrib/strutl.cc | |
parent | 110078022a6c6103be8f557aef1e268c4b680d88 (diff) |
Fix various compiler warnings
Diffstat (limited to 'apt-pkg/contrib/strutl.cc')
-rw-r--r-- | apt-pkg/contrib/strutl.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc index 70befdc48..972472986 100644 --- a/apt-pkg/contrib/strutl.cc +++ b/apt-pkg/contrib/strutl.cc @@ -1044,10 +1044,6 @@ static time_t timegm(struct tm *t) we allow them here to to be able to reuse the method. Either way, a date must be in UTC or parsing will fail. Previous implementations of this method used to ignore the timezone and assume always UTC. */ -bool RFC1123StrToTime(const char* const str,time_t &time) -{ - return RFC1123StrToTime(std::string(str), time); -} bool RFC1123StrToTime(std::string const &str,time_t &time) { unsigned short day = 0; |