remove unused function from toolchain.sh

fix broken compiler detection when warning level is high - fixes #686

(0) -100 -30 -10 -2 +2 +10 tip

mercurial