mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:43:24 +00:00
code cleanup: remove unused member variable
It was initialized, but never referenced. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
57f5d4b784
commit
24e02d878d
2 changed files with 1 additions and 3 deletions
|
@ -865,8 +865,7 @@ void PasteState::swap(dive_components what)
|
||||||
}
|
}
|
||||||
|
|
||||||
// ***** Paste *****
|
// ***** Paste *****
|
||||||
PasteDives::PasteDives(const dive *data, dive_components whatIn) : what(whatIn),
|
PasteDives::PasteDives(const dive *data, dive_components whatIn) : what(whatIn)
|
||||||
current(current_dive)
|
|
||||||
{
|
{
|
||||||
std::vector<dive *> selection = getDiveSelection();
|
std::vector<dive *> selection = getDiveSelection();
|
||||||
dives.reserve(selection.size());
|
dives.reserve(selection.size());
|
||||||
|
|
|
@ -307,7 +307,6 @@ struct PasteState {
|
||||||
class PasteDives : public Base {
|
class PasteDives : public Base {
|
||||||
dive_components what;
|
dive_components what;
|
||||||
std::vector<PasteState> dives;
|
std::vector<PasteState> dives;
|
||||||
dive *current;
|
|
||||||
public:
|
public:
|
||||||
PasteDives(const dive *d, dive_components what);
|
PasteDives(const dive *d, dive_components what);
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Add table
Reference in a new issue