From 621b42e53db83726102f160b13e9764592c95bba Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 20 Apr 2012 19:51:04 +0200 Subject: [PATCH] purge QMAKE_MOD_SYSTEM_ENV from Option & co. this is entirely unused Change-Id: Ia0368b1d90f61b64178e28479a2088a19aa418e3 Reviewed-by: Joerg Bornemann --- qmake/option.cpp | 4 ---- qmake/option.h | 1 - 2 files changed, 5 deletions(-) diff --git a/qmake/option.cpp b/qmake/option.cpp index 6d57de6..3c5a57f 100644 --- a/qmake/option.cpp +++ b/qmake/option.cpp @@ -73,7 +73,6 @@ QString Option::h_moc_mod; QString Option::cpp_moc_mod; QString Option::yacc_mod; QString Option::lex_mod; -QString Option::sysenv_mod; QString Option::res_ext; char Option::field_sep; @@ -437,7 +436,6 @@ Option::init(int argc, char **argv) Option::dirlist_sep = ":"; Option::shellPath = QStringList("sh"); #endif - Option::sysenv_mod = "QMAKE_ENV_"; Option::field_sep = ' '; if(argc && argv) { @@ -635,8 +633,6 @@ bool Option::postProcessProject(QMakeProject *project) Option::yacc_mod = project->first("QMAKE_MOD_YACC"); if(!project->isEmpty("QMAKE_DIR_SEP")) Option::dir_sep = project->first("QMAKE_DIR_SEP"); - if(!project->isEmpty("QMAKE_MOD_SYSTEM_ENV")) - Option::sysenv_mod = project->first("QMAKE_MOD_SYSTEM_ENV"); return true; } diff --git a/qmake/option.h b/qmake/option.h index 32bc06b..de02c39 100644 --- a/qmake/option.h +++ b/qmake/option.h @@ -91,7 +91,6 @@ struct Option static QString yacc_mod; static QString dir_sep; static QString dirlist_sep; - static QString sysenv_mod; static QString pro_ext; static QString res_ext; static char field_sep; -- 2.7.4