Merge pull request #4920 from a-veitch/census_init_fix

Remove bad error return in census_initialize
pull/4907/head^2
Bogdan Drutu 9 years ago
commit 9ee560f8b1
  1. 4
      src/core/census/initialize.c

@ -37,9 +37,7 @@ static int features_enabled = CENSUS_FEATURE_NONE;
int census_initialize(int features) {
if (features_enabled != CENSUS_FEATURE_NONE) {
return 1;
}
if (features == CENSUS_FEATURE_NONE) {
// Must have been a previous call to census_initialize; return error
return 1;
}
features_enabled = features;

Loading…
Cancel
Save