From 7b406922e96189c0bdfbf40cd9cefd6a5a7c1f8a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 28 Apr 2012 05:24:02 -0500 Subject: Silenced a warning in the very latest Clang --- src/pstream.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/pstream.h') diff --git a/src/pstream.h b/src/pstream.h index 6e38158a..e9cddb4c 100644 --- a/src/pstream.h +++ b/src/pstream.h @@ -93,9 +93,6 @@ class ptristream : public std::istream case std::ios::end: setg(ptr, egptr()+off, ptr+len); break; - - default: - return pos_type(off_type(-1)); } return pos_type(gptr() - ptr); } -- cgit v1.2.3