Fix compiler error about initializing const with default null