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
@ -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…
x
Reference in New Issue
Block a user