Opened 18 years ago

Closed 18 years ago

#2007 closed defect (fixed)

unprotected msDebug call in mapdraw.c

Reported by: bartvde@… Owned by: sdlime
Priority: high Milestone:
Component: MapServer C Library Version: 5.0
Severity: normal Keywords:
Cc:

Description

There is an unprotected msDebug call for scalefactor:

    /* compute layer scale factors now */
    for(i=0;i<map->numlayers; i++) {
      if(map->layers[i].sizeunits != MS_PIXELS)
      {
        map->layers[i].scalefactor =
(msInchesPerUnit(map->layers[i].sizeunits,0)/msInchesPerUnit(map->units,0)) /
geo_cellsize;
        msDebug( "scalefactor = %g\n", map->layers[i].scalefactor );
      }

Change History (2)

comment:1 by sdlime, 18 years ago

Removed the statement in CVS HEAD and the 4.10 branch.

Steve

comment:2 by sdlime, 18 years ago

Resolution: fixed
Status: newclosed
Closing.
Note: See TracTickets for help on using tickets.