commit 00475f9a1ab9244b6e22272ead0a2591ded61b68 from: Omar Polo via: Thomas Adam date: Mon Jan 02 11:43:39 2023 UTC gotwebd: drop redundant NULL check qs is guaranteed to be not NULL reached that point. 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;