[pywin32-checkins] pywin32/com/win32com/src PyRecord.cpp, 1.14, 1.15
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2009-01-03 05:50:58
|
Update of /cvsroot/pywin32/pywin32/com/win32com/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv11797 Modified Files: PyRecord.cpp Log Message: move variable decl to keep vc6 happy with goto exits. Index: PyRecord.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/PyRecord.cpp,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** PyRecord.cpp 19 Dec 2008 02:28:48 -0000 1.14 --- PyRecord.cpp 3 Jan 2009 05:50:50 -0000 1.15 *************** *** 465,468 **** --- 465,469 ---- goto done; // must exit on error via loop_error from here... + PyObject *sub_object = NULL; if (i > 0){ PyWinCoreString_Concat(&obrepr, comma); *************** *** 476,480 **** if (!obrepr) goto loop_error; ! PyObject *sub_object = PyRecord::getattro(self, obattrname); if (!sub_object) goto loop_error; --- 477,481 ---- if (!obrepr) goto loop_error; ! sub_object = PyRecord::getattro(self, obattrname); if (!sub_object) goto loop_error; |