What you say is true, but this case could easily trigger a warning about <i>possible</i> use before assignment.  The compiler doesn&#x27;t have (and can&#x27;t) to prove that either branch will always be taken at runtime.  And there&#x27;s no benefit to code like this anyway, just write it so it&#x27;s obviously to be assigned.  Your coworkers will thank you.