From 613c9aead4aa249bdea2d8e72471ae4de407eb6f Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Wed, 30 Oct 2019 09:31:34 -0400 Subject: [PATCH] removed erroneous assert in gapbuf_save --- src/lib/gapbuf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/gapbuf.c b/src/lib/gapbuf.c index c188242..95ac264 100644 --- a/src/lib/gapbuf.c +++ b/src/lib/gapbuf.c @@ -104,7 +104,6 @@ static long writefd(int fd, char* data, long towrite) long gapbuf_save(GapBuf* buf, char* path) { require(buf != NULL); - require(path != NULL); long fd; long nwrite = 0; if (path && (fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, 0644)) >= 0) -- 2.51.0