summaryrefslogtreecommitdiff
path: root/src/pstream.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pstream.h')
-rw-r--r--src/pstream.h3
1 files changed, 0 insertions, 3 deletions
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);
}