Commit Diff


commit - e73ab4217d50bcfc9f6a2d0a42a87a13cf72bf5d
commit + b1b2091b92cf99c8f0fe87488f2757f4d712e094
blob - 4d5b8607d73683a955e64433dc93a8d27fa41b01
blob + 5a594dfa2e858f4bb81931e3a6811536ed74ce16
--- gotwebd/gotweb.c
+++ gotwebd/gotweb.c
@@ -166,7 +166,7 @@ gotweb_process_request(struct request *c)
 			goto err;
 	}
 
-	if (qs != NULL && qs->action == BLOB) {
+	if (qs->action == BLOB) {
 		error = got_get_repo_commits(c, 1);
 		if (error)
 			goto done;