From 9d2cfee5e9e3ac82fab2e920730d04f23593ec10 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 22 Oct 2012 09:10:55 +0100 Subject: some more clang warnings Change-Id: I4359784279875dc9dac99bc4d2db95dccf094b20 --- boost/UnpackedTarball_boost.mk | 2 ++ boost/boost.7551.unusedvars.patch | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 boost/boost.7551.unusedvars.patch (limited to 'boost') diff --git a/boost/UnpackedTarball_boost.mk b/boost/UnpackedTarball_boost.mk index 584d479155f4..b7ebd67770ab 100644 --- a/boost/UnpackedTarball_boost.mk +++ b/boost/UnpackedTarball_boost.mk @@ -24,6 +24,8 @@ boost_patches += boost.6369.warnings.patch boost_patches += boost.6397.warnings.patch #backport from boost 1.48.0 fix for "opcode not supported on this processor" boost_patches += boost.mipsbackport.patch +#https://svn.boost.org/trac/boost/ticket/7551 +boost_patches += boost.7551.unusedvars.patch boost_patches += boost.windows.patch boost_patches += boost.vc2012.patch diff --git a/boost/boost.7551.unusedvars.patch b/boost/boost.7551.unusedvars.patch new file mode 100644 index 000000000000..839f9252435d --- /dev/null +++ b/boost/boost.7551.unusedvars.patch @@ -0,0 +1,10 @@ +--- misc/boost_1_44_0/boost/date_time/tz_db_base.hpp +--- misc/build/boost_1_44_0/boost/date_time/tz_db_base.hpp +@@ -170,7 +170,6 @@ + /*! May throw data_not_accessible, or bad_field_count exceptions */ + void load_from_file(const std::string& pathspec) + { +- string_type in_str; + std::string buff; + + std::ifstream ifs(pathspec.c_str()); -- cgit