From dc0e363c946dd8b24af39032992c8104f45d55bd Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Tue, 17 Dec 2002 15:43:36 +0000 Subject: [PATCH] remove unreachable return (Peter Dimov) [SVN r16639] --- src/path_posix_windows.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/path_posix_windows.cpp b/src/path_posix_windows.cpp index abe9c3b..872e4b2 100644 --- a/src/path_posix_windows.cpp +++ b/src/path_posix_windows.cpp @@ -475,16 +475,6 @@ namespace boost # else return m_path.size() && m_path[0] == '/'; # endif - - - return ( m_path.size() - && m_path[0] == '/' ) // covers both "/" and "//share" -# ifdef BOOST_WINDOWS - || ( m_path.size() > 1 && m_path[1] == ':' ) // "c:" and "c:/" - || ( m_path.size() > 3 - && m_path[m_path.size()-1] == ':' ) // "device:" -# endif - ; } bool path::has_root_path() const