svn commit: r241958 - in head/contrib/atf: atf-report atf-run

Dimitry Andric dim at FreeBSD.org
Tue Oct 23 18:38:05 UTC 2012


Author: dim
Date: Tue Oct 23 18:38:04 2012
New Revision: 241958
URL: http://svn.freebsd.org/changeset/base/241958

Log:
  Fix two clang warnings in the recent atf import.  These have also been
  sent upstream.
  
  Tested by:	Garrett Cooper <yanegomi at gmail.com>

Modified:
  head/contrib/atf/atf-report/atf-report.cpp
  head/contrib/atf/atf-run/io.hpp

Modified: head/contrib/atf/atf-report/atf-report.cpp
==============================================================================
--- head/contrib/atf/atf-report/atf-report.cpp	Tue Oct 23 18:36:07 2012	(r241957)
+++ head/contrib/atf/atf-report/atf-report.cpp	Tue Oct 23 18:38:04 2012	(r241958)
@@ -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

Modified: head/contrib/atf/atf-run/io.hpp
==============================================================================
--- head/contrib/atf/atf-run/io.hpp	Tue Oct 23 18:36:07 2012	(r241957)
+++ head/contrib/atf/atf-run/io.hpp	Tue Oct 23 18:38:04 2012	(r241958)
@@ -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;


More information about the svn-src-head mailing list