Ticket #3703 (closed defect: fixed)
Ineffective setting of m_nVersion in AddFieldNative function
| Reported by: | mloskot | Owned by: | dmorissette |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.8.0 |
| Component: | OGR_SF | Version: | unspecified |
| Severity: | normal | Keywords: | mitab |
| Cc: |
Description (last modified by mloskot) (diff)
In file mitab_miffile.cpp:1783, there is a suspicious case that looks like:
case TABFDateTime: ... break; m_nVersion = MAX(m_nVersion, 900); case TABFLogical: ...
The m_nVersion assignment is a dead code, perhaps unintentional.
Change History
Note: See
TracTickets for help on using
tickets.
