summaryrefslogtreecommitdiffstats
path: root/tdecore/kbufferedio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/kbufferedio.cpp')
-rw-r--r--tdecore/kbufferedio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdecore/kbufferedio.cpp b/tdecore/kbufferedio.cpp
index 2424c95e9..7a080ec68 100644
--- a/tdecore/kbufferedio.cpp
+++ b/tdecore/kbufferedio.cpp
@@ -174,7 +174,7 @@ int TDEBufferedIO::unreadBlock(const char *data, uint len)
unsigned TDEBufferedIO::consumeReadBuffer(unsigned nbytes, char *destbuffer, bool discard)
{
{
- register unsigned u = readBufferSize();
+ unsigned u = readBufferSize();
if (nbytes > u)
nbytes = u; // we can't consume more than there is
}