From 4d018306b3192c6155badc4bf637c205cc2ad7f8 Mon Sep 17 00:00:00 2001 From: Justine Tunney Date: Tue, 20 Feb 2024 14:24:56 -0800 Subject: [PATCH] Fix MODE=optlinux build --- third_party/tree/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/tree/list.c b/third_party/tree/list.c index c3aea1cdd..865bbad86 100644 --- a/third_party/tree/list.c +++ b/third_party/tree/list.c @@ -145,7 +145,7 @@ struct totals listdir(char *dirname, struct _info **dir, int lev, dev_t dev, boo int namemax = 257, namelen; int descend, htmldescend = 0, found, n, dirlen = strlen(dirname), pathlen = dirlen + 257; int needsclosed; - char *path, *newpath, *filename, *err = NULL; + char *path, *newpath = NULL, *filename, *err = NULL; int es = (dirname[strlen(dirname) - 1] == '/');