im a gunsmith and wd-40 has made me more money than anything else. wd-40 will get gummy and even harden up after a period of time. heat and dirt speed up this process.
if your going to use it keep it on the outside. do not put any on the inside of the gun. use rem-oil or equivalent.