Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
remove old paranoia code; maybe things are better at asserting now
Browse files Browse the repository at this point in the history
  • Loading branch information
FauxFaux committed Jan 24, 2016
1 parent 8fd5765 commit dce1383
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions settings.c
Expand Up @@ -742,12 +742,6 @@ void load_settings(char *section, Conf *conf)
void *sesskey;

sesskey = open_settings_r(section);
if (!sesskey && section) {
// some of the code is okay with this being NULL,
// but it only happens on error paths and horrifies me
return;
}

load_open_settings(sesskey, conf);
close_settings_r(sesskey);

Expand Down

0 comments on commit dce1383

Please sign in to comment.