Ticket #3702 (closed defect: fixed)
scaleFromLATTS function always returns 1
| Reported by: | mloskot | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | GDAL_Raster | Version: | svn-trunk |
| Severity: | normal | Keywords: | ilwis |
| Cc: |
Description
A minor issue spotted:
1. scaleFromLATTS function always returns 1 because return false; in line 380 is a dead code.
2. The function returns boolean by implicit conversion to int, perhaps intentional and perhaps not.
Change History
Note: See
TracTickets for help on using
tickets.
