Removed ALL the compile warnings!

This commit is contained in:
Thulinma 2014-01-05 15:26:41 +01:00
parent b5a4ea1b93
commit 12a0c1942c
18 changed files with 218 additions and 211 deletions

View file

@ -436,7 +436,7 @@ void Util::getMyExec(std::deque<std::string> & execs){
struct dirent *dp;
do {
errno = 0;
if (dp = readdir(d)){
if ((dp = readdir(d))){
if (strncmp(dp->d_name, "Mist", 4) == 0){
execs.push_back(dp->d_name);
}