diff options
author | Olly Betts <olly@survex.com> | 2008-03-26 08:52:57 +0000 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2008-03-26 08:52:57 +0000 |
commit | b2375fd6e6baf7fd3f4412a58dc943bcac7b7670 (patch) | |
tree | 57bd90f953b120616df8dca1bc2c9c1b0d5c9121 /Lib/python/pycontainer.swg | |
parent | 7b1cab1554c632df79280f08fd673bccb880fffb (diff) | |
download | swig-b2375fd6e6baf7fd3f4412a58dc943bcac7b7670.tar.gz |
[Python] Apply GCC 4.3 warnings patch from Philipp Thomas (SF#1925122).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/python/pycontainer.swg')
-rw-r--r-- | Lib/python/pycontainer.swg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/python/pycontainer.swg b/Lib/python/pycontainer.swg index b68a11f06..504627760 100644 --- a/Lib/python/pycontainer.swg +++ b/Lib/python/pycontainer.swg @@ -448,7 +448,7 @@ namespace swig ~PySequence_Cont() { - if (_seq) Py_DECREF(_seq); + Py_XDECREF(_seq); } size_type size() const |