diff options
author | Nicolas Pitre <nico@fluxnic.net> | 2021-03-19 17:22:53 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2021-03-20 15:54:32 -0400 |
commit | db35f3bfb7cc256f7e2fcad27bb658370091128f (patch) | |
tree | 132374ef04b504e039e265a6339ff0761dd8f5c2 /src/main.c | |
parent | 73d945f9f13d1a5a15590ace7f2740f16c2ae232 (diff) |
clean up and optimize the dictionary code
This code was way too complicated and suboptimal.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -197,8 +197,8 @@ int main (int argc, char ** argv) { #endif // start configuration dictionaries - user_conf_d = (struct dictionary *) create_dictionary(); - predefined_conf_d = (struct dictionary *) create_dictionary(); + user_conf_d = create_dictionary(); + predefined_conf_d = create_dictionary(); store_default_config_values(); // Stores default values in user_conf_d // Read the main() parameters and replace values in user_conf_d as necessary |