mirror of https://github.com/BOINC/boinc.git
- client: when parsing cc_config.xml,
clear vectors so we don't end up with duplicates svn path=/trunk/boinc/; revision=20020
This commit is contained in:
parent
b0463cffae
commit
2ce0cd6a6f
|
@ -10619,3 +10619,10 @@ David 22 Dec 2009
|
|||
client_state.cpp
|
||||
cs_notice.cpp,h
|
||||
log_flags.cpp,h
|
||||
|
||||
David 22 Dec 2009
|
||||
- client: when parsing cc_config.xml,
|
||||
clear vectors so we don't end up with duplicates
|
||||
|
||||
client/
|
||||
log_flags.cpp
|
||||
|
|
|
@ -262,8 +262,15 @@ int CONFIG::parse_options(XML_PARSER& xp) {
|
|||
int n;
|
||||
|
||||
//clear();
|
||||
// don't do this because some options are set by cmdline args,
|
||||
// don't do this here because some options are set by cmdline args,
|
||||
// which are parsed first
|
||||
// but do clear these, which aren't accessable via cmdline:
|
||||
//
|
||||
alt_platforms.clear();
|
||||
exclusive_apps.clear();
|
||||
exclusive_gpu_apps.clear();
|
||||
ignore_cuda_dev.clear();
|
||||
ignore_ati_dev.clear();
|
||||
|
||||
while (!xp.get(tag, sizeof(tag), is_tag)) {
|
||||
if (!is_tag) {
|
||||
|
|
Loading…
Reference in New Issue