Fixed compiler disabled warning