You should delete this entire if and its contents. 

To see this, imagine replacing g_Config.bDisplayFramebuffer with false. The block now becomes 

    if (false && displayFramebufPtr_) 

which in turn becomes

    if (false) 

and thus the contents should be deleted.