diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/storage/key.cpp | 4 | ||||
-rw-r--r-- | common/storage_common.cpp | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/common/storage/key.cpp b/common/storage/key.cpp index 215e155..23d7a6a 100644 --- a/common/storage/key.cpp +++ b/common/storage/key.cpp | |||
@@ -162,12 +162,12 @@ bool Revision::isValidInternal(const QByteArray &bytes) | |||
162 | 162 | ||
163 | bool Revision::isValidDisplay(const QByteArray &bytes) | 163 | bool Revision::isValidDisplay(const QByteArray &bytes) |
164 | { | 164 | { |
165 | isValidInternal(bytes); | 165 | return isValidInternal(bytes); |
166 | } | 166 | } |
167 | 167 | ||
168 | bool Revision::isValid(const QByteArray &bytes) | 168 | bool Revision::isValid(const QByteArray &bytes) |
169 | { | 169 | { |
170 | isValidInternal(bytes); | 170 | return isValidInternal(bytes); |
171 | } | 171 | } |
172 | 172 | ||
173 | bool Revision::operator==(const Revision &other) const | 173 | bool Revision::operator==(const Revision &other) const |
diff --git a/common/storage_common.cpp b/common/storage_common.cpp index f96097a..5d787d8 100644 --- a/common/storage_common.cpp +++ b/common/storage_common.cpp | |||
@@ -35,7 +35,6 @@ namespace Storage { | |||
35 | 35 | ||
36 | static const char *s_internalPrefix = "__internal"; | 36 | static const char *s_internalPrefix = "__internal"; |
37 | static const int s_internalPrefixSize = strlen(s_internalPrefix); | 37 | static const int s_internalPrefixSize = strlen(s_internalPrefix); |
38 | static const int s_lengthOfUid = 38; | ||
39 | 38 | ||
40 | DbLayout::DbLayout() | 39 | DbLayout::DbLayout() |
41 | { | 40 | { |