summaryrefslogtreecommitdiffhomepage
path: root/types.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-05-26 14:28:56 +0200
committerJo-Philipp Wich <jo@mein.io>2021-07-11 15:49:14 +0200
commit1adfba098ee0ac71b420590b17c1c65bb2318744 (patch)
tree31b650e38966eaf24a2b799c67f4e42e36b9d609 /types.c
parent3974e71acc9c7316d9840b298f0c444b6040a269 (diff)
treewide: eliminate dead code and unused functions
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'types.c')
-rw-r--r--types.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/types.c b/types.c
index 520727a..b72980b 100644
--- a/types.c
+++ b/types.c
@@ -1046,13 +1046,6 @@ ucv_regexp_new(const char *pattern, bool icase, bool newline, bool global, char
return NULL;
}
- /*
- json_object_object_add(re->header.jso, "source", xjs_new_string(pattern));
- json_object_object_add(re->header.jso, "i", xjs_new_boolean(icase));
- json_object_object_add(re->header.jso, "g", xjs_new_boolean(global));
- json_object_object_add(re->header.jso, "s", xjs_new_boolean(newline));
- */
-
return &re->header;
}