Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerfraser committed Feb 24, 2025
1 parent 3fd6e3a commit 5076143
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion dynadjust/dynadjust/dnaimport/dnainterop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,6 @@ void dna_import::ParseDNA(const std::string& fileName, vdnaStnPtr* vStations, PU
// reference frame based on the header and user preferences
dnaFile.read_dna_header(ifsInputFILE_, version, idt,
datum_, // project datum
projectSettings_.i.user_supplied_frame==1, // Has a reference frame been supplied?
fileEpsg, fileEpoch, geoversion, count);
// release file pointer mutex
import_file_mutex.unlock();
Expand Down
4 changes: 2 additions & 2 deletions dynadjust/include/io/dnaiodna.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void dna_io_dna::read_ren_file(const std::string& filename, pv_string_vstring_pa
UINT32 count(0);

// read header information
read_dna_header(&renaming_file, version, idt, datum, false, fileEpsg, fileEpoch, geoidVersion, count);
read_dna_header(&renaming_file, version, idt, datum, fileEpsg, fileEpoch, geoidVersion, count);

read_ren_data(&renaming_file, stnRenaming);

Expand Down Expand Up @@ -249,7 +249,7 @@ void dna_io_dna::read_ren_data(std::ifstream* ptr, pv_string_vstring_pair stnRen


void dna_io_dna::read_dna_header(std::ifstream* ptr, std::string& version, INPUT_DATA_TYPE& idt,
CDnaDatum& referenceframe, bool user_supplied_frame,
CDnaDatum& referenceframe,
std::string& fileEpsg, std::string& fileEpoch, std::string& geoidversion, UINT32& count)
{
std::string sBuf;
Expand Down
2 changes: 1 addition & 1 deletion dynadjust/include/io/dnaiodna.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class dna_io_dna : public dna_io_base
const CDnaDatum& datum, const std::string& comment);

void read_dna_header(std::ifstream* ptr, std::string& version, INPUT_DATA_TYPE& idt,
CDnaDatum& referenceframe, bool user_supplied_frame,
CDnaDatum& referenceframe,
std::string& fileEpsg, std::string& fileEpoch, std::string& geoidversion, UINT32& count);

inline const dna_stn_fields dna_stn_positions() { return dsl_; }
Expand Down

0 comments on commit 5076143

Please sign in to comment.