summaryrefslogtreecommitdiff
path: root/xs_json.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-10-31 14:30:55 +0100
committerdefault <nobody@localhost>2023-10-31 14:30:55 +0100
commit922e0bc919b424db8b55ff79a2603342b7f35f02 (patch)
treee763e5f5f65331a3d22ebee3cd1ce680ba2de1e3 /xs_json.h
parent5e8eb5f17188809a4340aed8f0382bd44820c96c (diff)
Backport from xs.
Diffstat (limited to 'xs_json.h')
-rw-r--r--xs_json.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/xs_json.h b/xs_json.h
index 639b52d..e9dc052 100644
--- a/xs_json.h
+++ b/xs_json.h
@@ -436,8 +436,6 @@ static xs_dict *_xs_json_load_object(FILE *f)
xs_dict *d = xs_dict_new();
int c = 0;
- d = xs_dict_new();
-
for (;;) {
xs *k = NULL;
xs *v = NULL;