Why do some unused functions exist in the code?

Petter Reinholdtsen pere at HUNGRY.COM
Wed Jan 26 04:26:27 EST 2005


When going through the source, and flagging all functions not used in
other files as 'static', and moving prototypes for all functions used
in other files into an appropriate header file, there is a class of
functions left.  The ones decleared in a file and never used.  Why are
these functions in the source?

The following functions are only mentioned once and never used:

  bufferPolyline checkWebExtent loadStyleString msCopyItem
  msCopyLabelCache msCopyLine msCopyResultCache msLayerWhichItemsNew
  msPolygonDirection msPrintShape msWebDebug

Are they part of some public API or otherwise used?



More information about the mapserver-dev mailing list