Ticket #39 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

imp_w projection error

Reported by: barendgehrels Owned by: warmerdam
Priority: major Milestone: 4.7.0
Component: Core Version: 4.6.1
Keywords: imp_w Cc:

Description

Compiler says:

imw_p.hpp 91: warning: 'yc' is used uninitialized in this function

Compiler is right, loc_for takes a pointer to yc BUT declares yc locally and never assigns its value. It is then used unitialized in the inverse function.

Change History

Changed 4 years ago by warmerdam

  • status changed from new to closed
  • component changed from default to Core
  • version changed from unspecified to 4.6.1
  • milestone set to 4.7.0
  • keywords imp_w added
  • resolution set to fixed

I believe I have corrected this now in trunk (r1575). I have not actually tested it at all.

I checked Gerald's version of the library and it appears he already addressed this problem (similarly).

Note: See TracTickets for help on using tickets.