The Warrior was one of several NPC Classes introduced in Dungeons & Dragons 3rd edition.
Unlike commoners, they generally have some ability to fight back if attacked, but they're even weaker than the fighter, since they don't get bonus feats. They aren't that much worse than Samurai or Swashbuckler though, which is more an insult to their weak class features than anything.
Typical warrior NPCs include guards, soldiers, local thugs or common people who have learned to fight in order to defend their home to a certain degree. A fallen Paladin is almost functionally identical to a Warrior.