summaryrefslogtreecommitdiff
path: root/xs_json.h
diff options
context:
space:
mode:
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;