summaryrefslogtreecommitdiff
path: root/function.cpp
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2019-10-27 21:27:04 -0400
committerRusty Wagner <rusty.wagner@gmail.com>2019-10-27 22:55:50 -0400
commit6d44b037731fe497a98739bfd237e430f90974aa (patch)
treef9ef42f61ccbab8c15bcc072fea07249de7a6465 /function.cpp
parenta49e1b7d4e3d1bab73337b6d9412350f39f5ce15 (diff)
Eliminate most warnings on Linux
Diffstat (limited to 'function.cpp')
-rw-r--r--function.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/function.cpp b/function.cpp
index 0d5cb2ba..3dc98112 100644
--- a/function.cpp
+++ b/function.cpp
@@ -48,6 +48,14 @@ Variable::Variable(const BNVariable& var)
}
+Variable::Variable(const Variable& var)
+{
+ type = var.type;
+ index = var.index;
+ storage = var.storage;
+}
+
+
Variable& Variable::operator=(const Variable& var)
{
type = var.type;