]> git.sur5r.net Git - i3/i3/blobdiff - src/config_parser.c
Remove yajl major version conditionals
[i3/i3] / src / config_parser.c
index 63cef8d6b7c9a8432bdae6c041bca9aba49824cc..72ba67665e90ca06b0231d822b4ba9c8de63b28d 100644 (file)
@@ -323,12 +323,8 @@ struct ConfigResult *parse_config(const char *input, struct context *context) {
     state = INITIAL;
     statelist_idx = 1;
 
-/* A YAJL JSON generator used for formatting replies. */
-#if YAJL_MAJOR >= 2
+    /* A YAJL JSON generator used for formatting replies. */
     command_output.json_gen = yajl_gen_alloc(NULL);
-#else
-    command_output.json_gen = yajl_gen_alloc(NULL, NULL);
-#endif
 
     y(array_open);