Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
parejkoj committed Jun 7, 2017
1 parent 1d992f1 commit d3dc5e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ConstrainedPolyModel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ std::shared_ptr<TanSipPix2RaDec> ConstrainedPolyModel::produceSipWcs(const CcdIm
// NOTE: we currently expect T2 to be an identity for the first visit, so we have to treat it separately.
// TODO: We are aware that this is a hack, but it will be fixed as part of DM-10524.
try {
const GtransfoIdentity &t2 = dynamic_cast<const GtransfoIdentity &>(mapping->getTransfo2());
dynamic_cast<const GtransfoIdentity &>(mapping->getTransfo2());
pix2Tp = t1;
} catch (std::bad_cast) {
try {
Expand Down

0 comments on commit d3dc5e9

Please sign in to comment.