diff --git a/src/libsyncengine/reconciliation/platform_inconsistency_checker/platforminconsistencycheckerutility.cpp b/src/libsyncengine/reconciliation/platform_inconsistency_checker/platforminconsistencycheckerutility.cpp index b804df1ff..1acae7fa0 100644 --- a/src/libsyncengine/reconciliation/platform_inconsistency_checker/platforminconsistencycheckerutility.cpp +++ b/src/libsyncengine/reconciliation/platform_inconsistency_checker/platforminconsistencycheckerutility.cpp @@ -189,7 +189,7 @@ void PlatformInconsistencyCheckerUtility::setMaxPath() { _maxPathLength = CommonUtility::maxPathLength(); } -SyncName PlatformInconsistencyCheckerUtility::generateSuffix(SuffixType suffixType /*= SuffixTypeRename*/) { +SyncName PlatformInconsistencyCheckerUtility::generateSuffix(SuffixType suffixType) { std::time_t now = std::time(nullptr); std::tm tm = *std::localtime(&now); diff --git a/src/libsyncengine/reconciliation/platform_inconsistency_checker/platforminconsistencycheckerutility.h b/src/libsyncengine/reconciliation/platform_inconsistency_checker/platforminconsistencycheckerutility.h index 8effabca1..b1897ef53 100644 --- a/src/libsyncengine/reconciliation/platform_inconsistency_checker/platforminconsistencycheckerutility.h +++ b/src/libsyncengine/reconciliation/platform_inconsistency_checker/platforminconsistencycheckerutility.h @@ -49,7 +49,7 @@ class PlatformInconsistencyCheckerUtility { SyncName charToHex(unsigned int c); void setMaxPath(); - SyncName generateSuffix(SuffixType suffixType = SuffixTypeRename); + SyncName generateSuffix(SuffixType suffixType); static std::shared_ptr _instance; static size_t _maxPathLength;