MADS: Fix compiler warning