aboutsummaryrefslogtreecommitdiff
path: root/swaymsg
diff options
context:
space:
mode:
authorJason Nader <jason.nader@protonmail.com>2021-10-25 13:28:32 +0900
committerSimon Ser <contact@emersion.fr>2021-10-25 10:18:40 +0200
commit9303bed4d4523d158b33c44f534a53b21d7688d6 (patch)
tree55965bc247a85cac9c240a1e5715a7a9f6c38ddb /swaymsg
parentb223f702500d7cda6336e948062d680f07f34f66 (diff)
refactor: use JSON_MAX_DEPTH everywhere
Diffstat (limited to 'swaymsg')
-rw-r--r--swaymsg/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/swaymsg/main.c b/swaymsg/main.c
index e469319a..0d9dc5a0 100644
--- a/swaymsg/main.c
+++ b/swaymsg/main.c
@@ -1,8 +1,5 @@
#define _POSIX_C_SOURCE 200809L
-// arbitrary number, it's probably sufficient, higher number = more memory usage
-#define JSON_MAX_DEPTH 512
-
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>