summaryrefslogtreecommitdiff
path: root/src/pacman
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman')
-rw-r--r--src/pacman/ini.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/pacman/ini.c b/src/pacman/ini.c
index 7291e971..affab54a 100644
--- a/src/pacman/ini.c
+++ b/src/pacman/ini.c
@@ -103,12 +103,6 @@ int parse_ini(const char *file, ini_parser_fn cb, void *data)
strtrim(key);
strtrim(value);
- if(key == NULL) {
- pm_printf(ALPM_LOG_ERROR, _("config file %s, line %d: syntax error in config file- missing key.\n"),
- file, linenum);
- ret = 1;
- goto cleanup;
- }
if((ret = cb(file, linenum, section_name, key, value, data)) != 0) {
goto cleanup;
}