From: Michael D. Lowis Date: Wed, 30 Oct 2019 13:31:34 +0000 (-0400) Subject: removed erroneous assert in gapbuf_save X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=613c9aead4aa249bdea2d8e72471ae4de407eb6f;p=projs%2Ftide.git removed erroneous assert in gapbuf_save --- 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)