summaryrefslogtreecommitdiffstats
path: root/commands/command_edit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'commands/command_edit.cpp')
-rw-r--r--commands/command_edit.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/command_edit.cpp b/commands/command_edit.cpp
index 02939ac6d..d55684814 100644
--- a/commands/command_edit.cpp
+++ b/commands/command_edit.cpp
@@ -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());