Keil Compiler Warnings: Uncalled Segment

Question: When I compile my project I get an Uncalled Segment warning. What does this mean and how do I clear this warning?

 

Answer:

This warning occurs when functions which are not called are contained in the program. The function specified is excluded from the overlay process in this case. The complier will also indicate the function or segment name in the warning. You should review this function or segment to ensure any code it contains is not needed for the finished project. You can safely ignore this warning or delete/comment out the function/segment as required.