As one of the people that voted to close your question I want to explain my reasoning. I voted to close the question roughly 10 minutes after it was posted prior to you updating it to give an example of which line (or one of them, possibly of many), which caused the error.
Because the example wasn't "Complete" (in that it wasn't a full program, see MCVE), it wouldn't be possible to run it to determine exactly where the error was, at least not with a deeper understanding of the language than I have (although there's every chance that I was a bit harsh, I'd had a long day :) ).
Had I seen the question after your first edit had taken place I would certainly have retracted my flag (as I thought I had anyway).
Sorry for this and thanks for bringing it to our attention.
Update
Looking back the the question now that I've had something to eat, the line bothering me the most is:
How can the code be changed to remove the warning without breaking the crc module?
This is a fairly open question which could likely be solved in a variety of different way, if I were to vote to close again (which I can't), I'd probably be close voting as too broad as it was before.
As an aside, another user believed that
someone took it upon themselves to punish you for the answer you wrote
I can't speak for the rest of the reviewers that took part in reviewing your question, but every question/answer that I review is reviewed based upon it's own merits, not the words of someone else and it was in no way meant to "punish you".
Sorry if this isn't the answer that you're looking for but hopefully it gives a bit of closure.