mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +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 *****
|
||||
PasteDives::PasteDives(const dive *data, dive_components whatIn) : what(whatIn),
|
||||
current(current_dive)
|
||||
PasteDives::PasteDives(const dive *data, dive_components whatIn) : what(whatIn)
|
||||
{
|
||||
std::vector<dive *> selection = getDiveSelection();
|
||||
dives.reserve(selection.size());
|
||||
|
|
|
@ -307,7 +307,6 @@ struct PasteState {
|
|||
class PasteDives : public Base {
|
||||
dive_components what;
|
||||
std::vector<PasteState> dives;
|
||||
dive *current;
|
||||
public:
|
||||
PasteDives(const dive *d, dive_components what);
|
||||
private:
|
||||
|
|
Loading…
Add table
Reference in a new issue