From 510037b064fd5a9bc4f9c6516b55c1787709c62d Mon Sep 17 00:00:00 2001 From: Yurii Zubrytskyi Date: Wed, 22 Apr 2020 15:46:21 -0700 Subject: [cleanup] Enable clang-tidy and fix warnings Moving out of a const variable doesn't really work, apparently Bug: 153704006 Test: builds & boots Change-Id: Id7322f7045c08a20d72dda50808c0be427064cdd --- services/incremental/IncrementalService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services/incremental/IncrementalService.cpp') diff --git a/services/incremental/IncrementalService.cpp b/services/incremental/IncrementalService.cpp index dc05cb69d4c5..a6c45cc6c26f 100644 --- a/services/incremental/IncrementalService.cpp +++ b/services/incremental/IncrementalService.cpp @@ -1395,7 +1395,7 @@ bool IncrementalService::configureNativeBinaries(StorageId storage, std::string_ auto startFileTs = Clock::now(); const auto libName = path::basename(fileName); - const auto targetLibPath = path::join(libDirRelativePath, libName); + auto targetLibPath = path::join(libDirRelativePath, libName); const auto targetLibPathAbsolute = normalizePathToStorage(*ifs, storage, targetLibPath); // If the extract file already exists, skip if (access(targetLibPathAbsolute.c_str(), F_OK) == 0) { -- cgit v1.2.3-59-g8ed1b