Merge pull request #3256 from orestisf1993/REQUIRED_OPTION

Remove obsolete macro REQUIRED_OPTION
This commit is contained in:
Ingo Bürk 2018-04-21 17:56:06 +02:00 committed by GitHub
commit 53648511b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -191,10 +191,6 @@ void load_configuration(xcb_connection_t *conn, const char *override_configpath,
bindings = default_mode->bindings; 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 */ /* Clear the old config or initialize the data structure */
memset(&config, 0, sizeof(config)); memset(&config, 0, sizeof(config));