index
:
cbs
master
Single-header C build system
Thomas Voss
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
cbs.h
2
1 files changed, 1 insertions, 1 deletions
diff --git a/cbs.h b/cbs.h
index dd39f28..b8b7ece 100644
--- a/
cbs.h
+++ b/
cbs.h
@@ -349,7 +349,7 @@ void
strvfree(struct strv *v)
{
free(v->buf);
- *v = (struct strv){0};
+ memset(v, 0, sizeof(*v));
}
void *