Why oass by ref, this should trigger a warning?