Unverified Commit 31a249af authored by Amy Stamile's avatar Amy Stamile Committed by GitHub
Browse files

Cleans Build Warnings (#5576)

* cleans build warnings

* remove unused variables
parent b5cec280
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -147,9 +147,6 @@ namespace Isis {

      csm::RasterGM *m_model; //! CSM sensor model
      iTime m_refTime; //! The reference time that all model image times are relative to
      SpiceRotation *m_bodyRotation = NULL; //!< Body spice rotation
      SpiceRotation *m_instrumentRotation = NULL; //!< Instrument spice rotation
      Longitude *m_solarLongitude = NULL;

      void isisToCsmPixel(double line, double sample, csm::ImageCoord &csmPixel) const;
      void csmToIsisPixel(csm::ImageCoord csmPixel, double &line, double &sample) const;
+0 −1
Original line number Diff line number Diff line
@@ -471,7 +471,6 @@ namespace Isis {
    if (!isValid()) {
      return;
    }
    int tri = 0;
    Triangle *triangles = (Triangle *)rtcSetNewGeometryBuffer(rtcMesh, RTC_BUFFER_TYPE_INDEX, 0, RTC_FORMAT_UINT3, sizeof(Triangle), numberOfPolygons());
    // Add the body's face (vertex indices) to the Embree device's index buffer
    for (int t = 0; t < numberOfPolygons(); ++t) {
+7 −2
Original line number Diff line number Diff line
@@ -748,13 +748,18 @@ namespace Isis {
       *
       * @internal
       */
      class ProcessIterator : public std::iterator<
          std::forward_iterator_tag, int> {
      class ProcessIterator {
        public:
          ProcessIterator(int position);
          ProcessIterator(const ProcessIterator &other);
          virtual ~ProcessIterator();

          using value_type = int;
          using iterator_category = std::forward_iterator_tag;
          using difference_type = std::ptrdiff_t;
          using pointer = int*;
          using reference = int&;

          ProcessIterator &operator++();

          /**
+2 −2
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ namespace Isis {

  void tgocassisstitch(UserInterface &ui) {

    QMap<QString, FileName> frameMap;
    QMultiMap<QString, FileName> frameMap;

    try {
      // Open up the list of framelet files
@@ -128,7 +128,7 @@ namespace Isis {
                            frameletList.fileName(i) );
    }

    return frameMap;
    return std::move(frameMap);
  }