summaryrefslogtreecommitdiff
path: root/src/pstream.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-04-28 05:24:02 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-04-28 05:24:07 -0500
commit7b406922e96189c0bdfbf40cd9cefd6a5a7c1f8a (patch)
treef8e594ddba9e24f17b36327950989115cffd506a /src/pstream.h
parent08a7f5ae0768af77c8e4be0a1094c90b6ce11092 (diff)
downloadfork-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.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);
}