Warn and unset static if set