Skip to content

Commit

Permalink
Merge pull request #181 from BrillouinMicroscopy/fix/noid/cppcheck-wa…
Browse files Browse the repository at this point in the history
…rnings

Fix/noid/cppcheck warnings
  • Loading branch information
raimund-schluessler authored Feb 3, 2021
2 parents 91dc358 + 94d88f3 commit 5d05b96
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public slots:

Camera** m_camera{ nullptr };

FLUORESCENCE_SETTINGS m_settings;
FLUORESCENCE_SETTINGS m_settings = FLUORESCENCE_SETTINGS{};
FLUORESCENCE_MODE m_currentPreviewChannel{ FLUORESCENCE_MODE::NONE };
FLUORESCENCE_MODE m_previousPreviewChannel{ FLUORESCENCE_MODE::NONE };

Expand Down
2 changes: 1 addition & 1 deletion BrillouinAcquisition/src/Devices/Cameras/andor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ void Andor::getEnumString(AT_WC* feature, std::wstring* value) {
AT_WC tmpValue[256];
AT_GetEnumStringByIndex(m_camera, feature, enumIndex, tmpValue, 256);
auto tmp = std::wstring(tmpValue);
value = &tmp;
*value = tmp;
}

/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ public slots:
POINT2 m_positionStage{ 0, 0 }; // [µm] position of the stage (x-y-position)
POINT2 m_positionScanner{ 0, 0 }; // [µm] position of the scanner (x-y-position)

bool m_isConnected{ false };
bool m_isCompatible{ false };
POINT3 m_homePosition{ 0, 0, 0 };
POINT2 m_startPosition{ 0, 0 }; // [µm] start position
Expand Down

0 comments on commit 5d05b96

Please sign in to comment.