[Libreoffice-commits] online.git: loolwsd/IoUtil.cpp
Miklos Vajna
vmiklos at collabora.co.uk
Wed Mar 30 07:40:08 UTC 2016
loolwsd/IoUtil.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f30e22d0a39282af853fa9d094d8f74eac7861a4
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Wed Mar 30 09:39:48 2016 +0200
loolwsd: fix -Werror,-Wshadow
diff --git a/loolwsd/IoUtil.cpp b/loolwsd/IoUtil.cpp
index 96574c3..02ecb09 100644
--- a/loolwsd/IoUtil.cpp
+++ b/loolwsd/IoUtil.cpp
@@ -323,7 +323,7 @@ int PipeReader::readLine(std::string& line,
return -1;
}
- const char *endOfLine = static_cast<const char *>(std::memchr(buffer, '\n', bytes));
+ endOfLine = static_cast<const char *>(std::memchr(buffer, '\n', bytes));
if (endOfLine != nullptr)
{
// Got end of line.
More information about the Libreoffice-commits
mailing list