unreachable code detected
<p>I am getting unreachable code detected for the second if statement. Can you please let me know what went wrong?</p>

<pre><code>private bool ValidateSettings()
{
    if (chkDownload.Checked &amp;&amp; String.IsNullOrEmpty(txtAppName.Text))
    {
        divAppDownloadError.Visible=true;
        return false;
    }
    else
    {
        return true;
    }

    if (chkpplaORfmp.Checked &amp;&amp; String.IsNullOrEmpty(txtfmpORppla.Text))
    {
        divXPAAPPDownloadError.Visible = true;
        return false;
    }
    else
    {
         return true;
    }
}
</code></pre>
