Fix the return value of set_discard (issue #10519)
1 file changed