Hm that's really strange, since Inquisitor wields a 2h hammer in char creation, but yet his Warfare skills are shown to scale with Int there.
But you are right I tested it out ingame and they don't scale with Int if you equip a physical melee weapon.