This rule finds non-member functions with a superfluous const qualifier on their return type.

The superfluous const qualifier should be removed, as it serves no purpose. If the return type contains embedded qualifiers, then care should be taken to remove only the superfluous one.

  • comp.lang.c FAQ list ยท Question 6.3