From 8fba5437198e007323a24c97db195b5f654d92dc Mon Sep 17 00:00:00 2001 From: Orestis Floros Date: Fri, 20 Apr 2018 13:00:44 +0300 Subject: [PATCH] Remove obsolete macro REQUIRED_OPTION Was used for the removed option 'terminal' and for 'font'. 'font' is no longer this aggressive and doesn't use the macro. Killing i3 when an option is missing would be super backwards incompatible so I doubt we are going to use this ever again. --- src/config.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/config.c b/src/config.c index 95b7ec98..de149ce7 100644 --- a/src/config.c +++ b/src/config.c @@ -191,10 +191,6 @@ void load_configuration(xcb_connection_t *conn, const char *override_configpath, bindings = default_mode->bindings; -#define REQUIRED_OPTION(name) \ - if (config.name == NULL) \ - die("You did not specify required configuration option " #name "\n"); - /* Clear the old config or initialize the data structure */ memset(&config, 0, sizeof(config)); -- 2.39.5