aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2024-01-20 02:38:26 -0800
committerPreston Pan <preston@nullring.xyz>2024-01-20 02:38:26 -0800
commita9d6c221d7686e3055593359b02125a3f20ab3e5 (patch)
treeea9037ae83c28910f5fddf4844ffbb9563dbf94e /src
parent640f9a3f5be5528dd4f8ed658cfe4d06d833e4c9 (diff)
add map, filter might work?
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index cbf7f34..9d2d381 100644
--- a/src/main.c
+++ b/src/main.c
@@ -48,8 +48,8 @@ void sigint_handler(int signum) {
int main(int argc, char **argv) {
value_t *v;
- size_t len;
- char *buf;
+ size_t len = 0;
+ char *buf = "";
/* Parsing arguments */
if (argc < 2) {