The Cambridge Online Dictionary defines "cannon fodder" as:
If you describe soldiers as cannon fodder, you mean that they are not considered important by their officers and are sent into war without their leaders worrying if they die.
On fantasy novels I have found the word "fodder" used with the meaning of "cannon fodder". Is this use of "fodder" allowed on other contexts, like a magazine article about Word War II? There are no cannons on the fantasy world, so would make no sense the use of "cannon fodder" by the characters.
A few examples from R.A Salvatore:
"Your flanks will be secure," he promised his king. "And any fodder prodded before Grguch's clan will be swept clean before they reach the hill. Clan Karuck alone will press the center."
"Well met, Torgar," Bruenor replied, offering a gracious bow of his own, something that he, as head of a nearby kingdom, was certainly not required to do. "Yer guards her serve ye well at blocking the way an better than fodder!"
Tens of thousands of goodly folk would have died in that war, but the kingdoms of the Silver Marches would not have fallen. This time, it would seem that Gruumsh demanded more of his fodder minions.