summaryrefslogtreecommitdiff
path: root/zen/read_txt.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:23:19 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:23:19 +0200
commit0887aee8c54d0ed51bb2031431e2bcdafebb4c6e (patch)
tree69537ceb9787bb25ac363cc4e6cdaf0804d78363 /zen/read_txt.cpp
parent5.12 (diff)
downloadFreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.tar.gz
FreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.tar.bz2
FreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.zip
5.13
Diffstat (limited to 'zen/read_txt.cpp')
-rw-r--r--zen/read_txt.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/zen/read_txt.cpp b/zen/read_txt.cpp
index 0fd310c2..7566ff14 100644
--- a/zen/read_txt.cpp
+++ b/zen/read_txt.cpp
@@ -5,6 +5,7 @@ using namespace zen;
namespace
{
+warn_static("superfluous method")
std::string detectLineBreak(const Zstring& filename) //throw FileError
{
//read a (hopefully) significant portion of data
@@ -51,6 +52,7 @@ ExtractLines::ExtractLines(const Zstring& filename, const std::string& lineBreak
bool ExtractLines::getLine(std::string& output) //throw FileError
{
+ warn_static("don't use lineBreak, but support any of r, n, rn!!!")
for (;;)
{
//check if full line is in buffer
bgstack15