]> git.sur5r.net Git - i3/i3/commitdiff
Merge pull request #3256 from orestisf1993/REQUIRED_OPTION
authorIngo Bürk <admin@airblader.de>
Sat, 21 Apr 2018 15:56:06 +0000 (17:56 +0200)
committerGitHub <noreply@github.com>
Sat, 21 Apr 2018 15:56:06 +0000 (17:56 +0200)
Remove obsolete macro REQUIRED_OPTION

src/config.c

index 95b7ec9801f424e91402482589fc70e2d6efacbb..de149ce7d84adb828d2ec453410afb834afe1e53 100644 (file)
@@ -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));