IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 21 years ago

Closed 21 years ago

#654 closed defect (fixed)

psFitsReadTable([const?] psFits *fits)

Reported by: jhoblitt Owned by: eugene
Priority: high Milestone:
Component: IPP SDRS Version: unspecified
Severity: normal Keywords:
Cc:

Description

psFitsReadTable() is defined and implimented as:

psArray* psFitsReadTable (psFits *fits);

Should fits be const? I can't see why the structure would be being modified
unless the pdu cursor is being incrememented.

Change History (2)

comment:1 by eugene, 21 years ago

I agree. plus, all the other fits read functions use const psFits *fits

comment:2 by jhoblitt, 21 years ago

Resolution: fixed
Status: newclosed

Done. Since that was more of a design change than a bug I'm inclined to let it
go until the next dev cycle unless you think it's worth putting mhpcc through
the 'overhead' of servicing another bug.

Note: See TracTickets for help on using tickets.