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 | 4ce88fd57f8d1a55cf6aab121597a0d481adf9f5 (patch) | |
| tree | dbd0ab27baccb35257b12a92bbd3d25ea46aef11 /cpp/bindings | |
| parent | 927caa28e0570cf2b223388a4290ff899ce5a358 (diff) | |
| download | qpid-python-4ce88fd57f8d1a55cf6aab121597a0d481adf9f5.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/qpid@1137997 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings')
| -rw-r--r-- | cpp/bindings/swig_ruby_typemaps.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/bindings/swig_ruby_typemaps.i b/cpp/bindings/swig_ruby_typemaps.i index 79e679663d..326d607c8d 100644 --- a/cpp/bindings/swig_ruby_typemaps.i +++ b/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: { |
