Commit Diff


commit - 3168e5da215c7b442d231f40bfd61df067505d8b
commit + 53dfa00d415bb0c005a2b76db8398bc38583065f
blob - e3bcc200c6b5f1d8417e2926319744311bb40275
blob + 4d94535e57af6301b62b7f129ed69283e46898d2
--- libexec/got-read-gotconfig/got-read-gotconfig.c
+++ libexec/got-read-gotconfig/got-read-gotconfig.c
@@ -249,7 +249,7 @@ main(int argc, char *argv[])
 {
 	const struct got_error *err = NULL;
 	struct imsgbuf ibuf;
-	struct gotconfig *gotconfig;
+	struct gotconfig *gotconfig = NULL;
 	size_t datalen;
 	const char *filename = "got.conf";
 #if 0