MyFirstObjectWalk: remove unnecessary conditional statement
authorJohannes Schindelin <redacted>
Sat, 28 Mar 2020 15:19:13 +0000 (15:19 +0000)
committerJunio C Hamano <redacted>
Mon, 30 Mar 2020 18:16:41 +0000 (11:16 -0700)
commite3f53ce5bddc9bc58de32ec435a8695000ad9fe6
tree91b68c022406108c0ce785d0a26e1a5549f00b16
parent3bab5d56259722843359702bc27111475437ad2a
MyFirstObjectWalk: remove unnecessary conditional statement

In the given example, `commit` cannot be `NULL` (because this is the
loop condition: if it was `NULL`, the loop body would not be entered at
all). It took this developer a moment or two to see that this is
therefore dead code.

Let's remove it, to avoid puzzling future readers.

Signed-off-by: Johannes Schindelin <redacted>
Reviewed-by: Emily Shaffer <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/MyFirstObjectWalk.txt
git clone https://git.99rst.org/PROJECT