diff options
author | Ted Ross <tross@apache.org> | 2011-06-21 13:25:24 +0000 |
---|---|---|
committer | Ted Ross <tross@apache.org> | 2011-06-21 13:25:24 +0000 |
commit | 4ea7bb090811a1ecfae9c1b5656bda447b90c7d4 (patch) | |
tree | e5b937df6137ff190a9aa02df4a3a3363876e561 | |
parent | b6650f4dda8be58935fba17f9ef494858b04a328 (diff) | |
download | qpid-python-4ea7bb090811a1ecfae9c1b5656bda447b90c7d4.tar.gz |
QPID-3305 - Variable is created, but not initialized, in VariantToRb.
Applied patch from Darryl Pierce.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1137997 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/cpp/bindings/swig_ruby_typemaps.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/bindings/swig_ruby_typemaps.i b/qpid/cpp/bindings/swig_ruby_typemaps.i index 79e679663d..326d607c8d 100644 --- a/qpid/cpp/bindings/swig_ruby_typemaps.i +++ b/qpid/cpp/bindings/swig_ruby_typemaps.i @@ -49,7 +49,7 @@ } VALUE VariantToRb(const qpid::types::Variant* v) { - VALUE result; + VALUE result = Qnil; try { switch (v->getType()) { case qpid::types::VAR_VOID: { |