Changeset 6358 for branches/stable_5.0/NTREE/NT_edconf.cxx
- Timestamp:
- 19/01/10 14:11:52 (2 years ago)
- Files:
-
- 1 modified
-
branches/stable_5.0/NTREE/NT_edconf.cxx (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/stable_5.0/NTREE/NT_edconf.cxx
r6287 r6358 399 399 GBDATA *gb_configuration = GBT_find_configuration(GLOBAL_gb_main,cn); 400 400 if (!gb_configuration){ 401 aw_message(GBS_global_string("Configuration '%s' not found in the database", cn));401 aw_message(GBS_global_string("Configuration '%s' not found in the database", cn)); 402 402 } 403 403 else { 404 GBDATA *gb_middle_area = GB_search(gb_configuration,"middle_area",GB_STRING); 405 char *md = 0; 406 if (gb_middle_area){ 404 GBDATA *gb_middle_area = GB_search(gb_configuration,"middle_area",GB_STRING); 405 char *md = 0; 406 size_t unknown_species = 0; 407 408 if (gb_middle_area) { 407 409 extractType ext_type = extractType(cl_extractType); 408 410 … … 455 457 GB_write_flag(gb_species,mark); 456 458 } 459 else { 460 unknown_species++; 461 } 457 462 } 458 463 } … … 460 465 GBS_free_hash(was_marked); 461 466 } 467 468 if (unknown_species>0) { 469 aw_message(GBS_global_string("configuration '%s' contains %zu unknown species", cn, unknown_species)); 470 } 471 462 472 free(md); 463 473 }
