[mapserver-dev] msSelectOutputFormat() in mapoutput.c
Frank Warmerdam
warmerdam at pobox.com
Tue Jul 14 00:54:27 EDT 2009
Steve Lime wrote:
> Hi all: Was just looking through source for selecting output formats and was trying to figure
> out msSelectOutputFormat(). Why does that function call msGetOutputFormatIndex() which
> searches formats by name and mime-type and then do seemingly the same thing over again
> in subsequent for-loops. Seems like the second loops are redundant.
Steve,
I agree - I have removed the redundant code in trunk.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the mapserver-dev
mailing list