Commit Diff


commit - ee7c14200a271dc3c8ce07e7d2f5102820f67422
commit + 00475f9a1ab9244b6e22272ead0a2591ded61b68
blob - 8a0eeee74e7e057259b61c1a8d0708e4ee4051f3
blob + 575743b83a7a92694ff4962d6c41e309c75d0cdb
--- gotwebd/gotweb.c
+++ gotwebd/gotweb.c
@@ -167,7 +167,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;