diff options
-rw-r--r-- | smartpensyncer.cc | 6 | ||||
-rw-r--r-- | stfreader.cc | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/smartpensyncer.cc b/smartpensyncer.cc index 93331ef..7119812 100644 --- a/smartpensyncer.cc +++ b/smartpensyncer.cc @@ -10,12 +10,6 @@ #define BUFFER_SIZE 16 * 1024 namespace { -static QString cleanFilename(QString s) -{ - static const QRegExp re("[^0-9A-Za-z-_]+"); - return s.replace(re, "_"); -} - static QDateTime getTimestampFileDate(const QString &path) { QFileInfo info(path); diff --git a/stfreader.cc b/stfreader.cc index fc62603..9a09290 100644 --- a/stfreader.cc +++ b/stfreader.cc @@ -50,7 +50,7 @@ bool StfReader::parseV1(BitReader& br) break; default: qWarning("Unknown header 0x%x", header); - break; + return false; } /* Start of a stroke. */ |