Seems to be long gone in current sources.
I think at one time the two if's probably tested different flags.You could dig through our CVS server if you want to know the history.
regards, tom lane