Roald Dahl did not attend any school where he was a "toilet warmer". This is a term used to describe someone who has a menial or unimportant job, and it is not a term that applies to Roald Dahl's life.
It is possible that you are thinking of a different story or character. Can you provide more context or details about where you heard this?