summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-10-23 18:38:04 +0000
committerdim <dim@FreeBSD.org>2012-10-23 18:38:04 +0000
commite1bc3b4134d3444ad6395eda2a2cf360b58be705 (patch)
tree050ee350e178e4deae1c253b5359c2e791d5c5c2
parent65bdd05e47f047230b192c0f69850969adf5f11c (diff)
downloadFreeBSD-src-e1bc3b4134d3444ad6395eda2a2cf360b58be705.zip
FreeBSD-src-e1bc3b4134d3444ad6395eda2a2cf360b58be705.tar.gz
Fix two clang warnings in the recent atf import. These have also been
sent upstream. Tested by: Garrett Cooper <yanegomi@gmail.com>
-rw-r--r--contrib/atf/atf-report/atf-report.cpp1
-rw-r--r--contrib/atf/atf-run/io.hpp5
2 files changed, 0 insertions, 6 deletions
diff --git a/contrib/atf/atf-report/atf-report.cpp b/contrib/atf/atf-report/atf-report.cpp
index fffe9dd..bcc7040 100644
--- a/contrib/atf/atf-report/atf-report.cpp
+++ b/contrib/atf/atf-report/atf-report.cpp
@@ -381,7 +381,6 @@ public:
class xml_writer : public writer {
ostream_ptr m_os;
- size_t m_curtp, m_ntps;
std::string m_tcname, m_tpname;
static
diff --git a/contrib/atf/atf-run/io.hpp b/contrib/atf/atf-run/io.hpp
index e021cf3..fd2d9fb 100644
--- a/contrib/atf/atf-run/io.hpp
+++ b/contrib/atf/atf-run/io.hpp
@@ -378,11 +378,6 @@ class pistream :
public std::istream, utils::noncopyable
{
//!
- //! \brief The file handle managed by this stream.
- //!
- int m_fd;
-
- //!
//! \brief The systembuf object used to manage this stream's data.
//!
systembuf m_systembuf;
OpenPOWER on IntegriCloud