diff --git a/src/porting.h b/src/porting.h index 542eea407..aee8e3297 100644 --- a/src/porting.h +++ b/src/porting.h @@ -144,7 +144,6 @@ extern std::string path_share; Linux: "~/." Mac: "~/Library/Application Support/" */ -extern std::string path_share; /* Path to gettext locale files diff --git a/src/porting_ios.cpp b/src/porting_ios.cpp index 114f83759..d2a2dbc2a 100644 --- a/src/porting_ios.cpp +++ b/src/porting_ios.cpp @@ -34,7 +34,6 @@ namespace porting { ioswrap_paths(PATH_DOCUMENTS, buf, sizeof(buf)); path_share = std::string(buf); ioswrap_paths(PATH_LIBRARY_SUPPORT, buf, sizeof(buf)); - path_share = std::string(buf); path_locale = std::string(buf) + "/locale"; ioswrap_paths(PATH_LIBRARY_CACHE, buf, sizeof(buf)); path_cache = std::string(buf);