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 | 36f988db616ababa1f482f5926c82d84d6aa0bf3 (patch) | |
| tree | dbd0ab27baccb35257b12a92bbd3d25ea46aef11 /cpp/bindings | |
| parent | 7d956b90f20879c4a7a829a8a38597bce18f8584 (diff) | |
| download | qpid-python-36f988db616ababa1f482f5926c82d84d6aa0bf3.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: { |
