mirror of
https://github.com/glest/glest-source.git
synced 2025-09-27 16:09:00 +02:00
cleaned up code based on feedback from cppcheck
This commit is contained in:
@@ -179,7 +179,6 @@ void Properties::load(const string &path, bool clearCurrentProperties) {
|
||||
|
||||
string getUserHomeFromGLIBC() {
|
||||
string home_folder = "";
|
||||
char dateiname[512];
|
||||
const char *homedir = getenv("HOME");
|
||||
if (!homedir) {
|
||||
#if _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE >= 500 || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
|
||||
|
Reference in New Issue
Block a user