summaryrefslogtreecommitdiff
path: root/src/CommonAPI
diff options
context:
space:
mode:
authorPatrick Sattler <sattler@itestra.de>2014-02-18 14:51:44 +0100
committerStefan Laner <Stefan.Laner@partner.bmw.de>2014-02-26 12:32:11 +0100
commit42dab1dc21736a2a5b30cbdb48dc362632eb3de1 (patch)
treee25a7ea8969da54d24e7fdae0d5caa73f1ddbbd3 /src/CommonAPI
parentb94ed2030fd13d100a757d531983b2fd2498b62e (diff)
downloadgenivi-common-api-runtime-42dab1dc21736a2a5b30cbdb48dc362632eb3de1.tar.gz
Fixed some compile warnings
Diffstat (limited to 'src/CommonAPI')
-rw-r--r--src/CommonAPI/Configuration.cpp1
-rw-r--r--src/CommonAPI/Runtime.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/CommonAPI/Configuration.cpp b/src/CommonAPI/Configuration.cpp
index 021dd1d..d15a75a 100644
--- a/src/CommonAPI/Configuration.cpp
+++ b/src/CommonAPI/Configuration.cpp
@@ -65,7 +65,6 @@ const std::string& Configuration::getDefaultMiddlewareIdentifier() const {
void Configuration::readConfigFile(std::ifstream& addressConfigFile) {
std::string currentlyParsedBindingIdentifier = "";
- bool endFile = false;
std::string readLine;
diff --git a/src/CommonAPI/Runtime.cpp b/src/CommonAPI/Runtime.cpp
index 812b410..9b3a919 100644
--- a/src/CommonAPI/Runtime.cpp
+++ b/src/CommonAPI/Runtime.cpp
@@ -211,7 +211,6 @@ std::shared_ptr<Runtime> Runtime::checkDynamicLibraries(const std::string& reque
LibraryVersion highestVersionFound = {0, 0, 0};
std::string fqnOfHighestVersion = "";
- struct stat filestat;
for (const std::string& singleSearchPath: librarySearchPaths) {
std::vector<std::string> orderedLibraries = readDirectory(singleSearchPath);