commit 706fe0e

wf  ·  2026-05-03 16:48:34 +0000 UTC
parent bb83e5b
Silence compiler warning
1 files changed,  +1, -1
+1, -1
1@@ -102,7 +102,7 @@ load_decor(char *path) {
2 	 * anything else in the directory is ignored, meaning you can put stuff like previews and readmes in it.
3 	 */
4 
5-	DIR *dir;
6+	DIR *dir = NULL;
7 	char real[PATH_MAX];
8 	if (!(realpath(path, real))) {
9 		_wrn("couldn't get decoration real path: %s", strerror(errno));