summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJ08nY <J08nY@users.noreply.github.com>2016-06-15 13:32:12 +0200
committerRĂ©mi Verschelde <remi@verschelde.fr>2016-06-15 13:32:12 +0200
commitcffdc52482b12db0fec62a49680a350734cc5c6b (patch)
tree914eec9bd713eeb4eee3209239474a0c34094032 /core
parent01bb8787c953aeb399bd97fa64c8b31c2e9abe43 (diff)
Classref: Added docs for StreamPeer* (#5216)
Diffstat (limited to 'core')
-rw-r--r--core/io/stream_peer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/io/stream_peer.cpp b/core/io/stream_peer.cpp
index 2a9dff86f8..306e7d8c9d 100644
--- a/core/io/stream_peer.cpp
+++ b/core/io/stream_peer.cpp
@@ -357,7 +357,6 @@ String StreamPeer::get_string(int p_bytes){
String StreamPeer::get_utf8_string(int p_bytes){
ERR_FAIL_COND_V(p_bytes<0,String());
- ERR_FAIL_COND_V(p_bytes<0,String());
Vector<uint8_t> buf;
buf.resize(p_bytes);