Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't return keywords 'variables' and 'local' in variable sections
  • Loading branch information
Bernd Wachter committed Jul 6, 2013
1 parent 5bf1178 commit 3668c70
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libssu/ssuvariables.cpp
Expand Up @@ -224,6 +224,9 @@ void SsuVariables::readSection(SsuSettings *settings, QString section,
if (locals.contains(key))
continue;

if (key == "variables" || key == "local")
continue;

if (storageHash->contains(key) && logOverride){
SsuLog::instance()->print(LOG_DEBUG,
QString("Variable %1 overwritten from %2::%3")
Expand Down

0 comments on commit 3668c70

Please sign in to comment.