mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
helpers: silence compiler warning
This commit is contained in:
@@ -438,6 +438,7 @@ bool CFileHelpers::copyDir(const char *Src, const char *Dst, bool backupMode)
|
|||||||
// is file
|
// is file
|
||||||
else if (S_ISREG(FileInfo.st_mode)) {
|
else if (S_ISREG(FileInfo.st_mode)) {
|
||||||
std::string save = "";
|
std::string save = "";
|
||||||
|
(void)backupMode; /* squelch unused parameter warning */
|
||||||
#if ENABLE_EXTUPDATE
|
#if ENABLE_EXTUPDATE
|
||||||
if (backupMode && (CExtUpdate::getInstance()->isBlacklistEntry(srcPath)))
|
if (backupMode && (CExtUpdate::getInstance()->isBlacklistEntry(srcPath)))
|
||||||
save = ".save";
|
save = ".save";
|
||||||
|
Reference in New Issue
Block a user