diff options
author | John Wiegley <johnw@newartisans.com> | 2012-04-28 05:24:02 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-04-28 05:24:07 -0500 |
commit | 7b406922e96189c0bdfbf40cd9cefd6a5a7c1f8a (patch) | |
tree | f8e594ddba9e24f17b36327950989115cffd506a /src/pstream.h | |
parent | 08a7f5ae0768af77c8e4be0a1094c90b6ce11092 (diff) | |
download | fork-ledger-7b406922e96189c0bdfbf40cd9cefd6a5a7c1f8a.tar.gz fork-ledger-7b406922e96189c0bdfbf40cd9cefd6a5a7c1f8a.tar.bz2 fork-ledger-7b406922e96189c0bdfbf40cd9cefd6a5a7c1f8a.zip |
Silenced a warning in the very latest Clang
Diffstat (limited to 'src/pstream.h')
-rw-r--r-- | src/pstream.h | 3 |
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); } |