diff --git a/panda/src/downloader/httpDate.cxx b/panda/src/downloader/httpDate.cxx index 07a6008c0c..3496e73715 100644 --- a/panda/src/downloader/httpDate.cxx +++ b/panda/src/downloader/httpDate.cxx @@ -53,7 +53,6 @@ HTTPDate(const string &format) { bool got_hour = false; bool got_minute = false; bool got_second = false; - bool got_timezone = false; enum ExpectNext { EN_none, @@ -171,7 +170,6 @@ HTTPDate(const string &format) { if (!matched && token == "Gmt") { matched = true; - got_timezone = true; } if (!matched) { diff --git a/panda/src/downloader/httpEntityTag.h b/panda/src/downloader/httpEntityTag.h index a99cba1e53..433860f2b4 100644 --- a/panda/src/downloader/httpEntityTag.h +++ b/panda/src/downloader/httpEntityTag.h @@ -55,7 +55,7 @@ private: string _tag; }; -INLINE ostream &operator << (ostream &out, const URLSpec &url); +INLINE ostream &operator << (ostream &out, const HTTPEntityTag &url); #include "httpEntityTag.I"