Fix missing braces in assignment-as-condition
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-c@13104 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
162ed6931a
commit
e08563189f
1 changed files with 1 additions and 1 deletions
|
|
@ -215,7 +215,7 @@ SWIGINTERN void SWIG_runtime_init() {
|
|||
if (!SWIG_rt_init) {
|
||||
SWIG_rt_init = 1;
|
||||
SWIG_rt_stack_base = SWIG_rt_stack_ptr = (jmp_buf *) malloc(sizeof(jmp_buf) * SWIG_MAX_RT_STACK);
|
||||
if (SWIG_exc.code = setjmp(SWIG_rt_env)) {
|
||||
if ((SWIG_exc.code = setjmp(SWIG_rt_env))) {
|
||||
// deallocate C++ exception
|
||||
if (setjmp(SWIG_rt_env) == 0) {
|
||||
SWIG_rt_stack_push();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue