diff options
| author | Randy Palamar <randy@rnpnr.xyz> | 2025-01-11 23:10:24 -0700 |
|---|---|---|
| committer | Randy Palamar <randy@rnpnr.xyz> | 2025-01-11 23:27:47 -0700 |
| commit | abf6384cca0f80fe7dfb35a8e2281d8664d9d459 (patch) | |
| tree | bc141b463e155b2170d2d70e9bb340614d76644d /test/fuzz | |
| parent | 72c26fc09af79ce217575a9b0f0d5058c336d5d7 (diff) | |
| download | vis-abf6384cca0f80fe7dfb35a8e2281d8664d9d459.tar.gz vis-abf6384cca0f80fe7dfb35a8e2281d8664d9d459.tar.xz | |
buffer: delete pointless buffer_init function
lets not make the code harder to read for no reason
Diffstat (limited to 'test/fuzz')
| -rw-r--r-- | test/fuzz/buffer-fuzzer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/fuzz/buffer-fuzzer.c b/test/fuzz/buffer-fuzzer.c index fea3ec8..9ecb405 100644 --- a/test/fuzz/buffer-fuzzer.c +++ b/test/fuzz/buffer-fuzzer.c @@ -78,8 +78,7 @@ static Cmd commands[] = { int main(int argc, char *argv[]) { char line[BUFSIZ]; - Buffer buf; - buffer_init(&buf); + Buffer buf = {0}; for (;;) { printf("> "); |
