revision.c: remove unneeded check for NULL
authorStefan Beller <redacted>
Fri, 26 Jun 2015 19:40:19 +0000 (12:40 -0700)
committerJunio C Hamano <redacted>
Mon, 29 Jun 2015 16:54:18 +0000 (09:54 -0700)
commitae40ebda9bf68b0be8deafd93b7982d443f2b1b2
treeca7595feb27d19e68aa2f24e4f351339b0661fb2
parentb6e8a3b5404606f156a14bac262d7e9adf620990
revision.c: remove unneeded check for NULL

The function is called only from one place, which makes sure to have
`interesting_cache` not NULL.  Additionally the variable is a
dereferenced a few lines before unconditionally, which would have
resulted in a segmentation fault before hitting this check.

Signed-off-by: Stefan Beller <redacted>
Acked-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
revision.c
git clone https://git.99rst.org/PROJECT