Melee weapons have a stat called Durability. It doesn't seem the weapons can be damaged. It is always 20/20. Merchants have skill called Blacksmithing to be able to repair broken weapons.

Why are there the mechanics? It looks as if their developing was abandoned and they were not removed from the game. It is quite confusing.