Fix warning in ! NO_AFS case