Missing initialization (Thx Yung-Jang Lee)

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Vincent Couvert 2011-09-15 08:31:30 +00:00
commit fa5117dee3

View file

@ -44,6 +44,10 @@ public:
* ----------------------------------------------------------------------*/
virtual void main(int argc, char* argv[]) {
sourceFile = NULL;
ldflag = NULL;
cflag = NULL;
/* Manage command line arguments */
for (int argIndex = 1; argIndex < argc; argIndex++) {
if (argv[argIndex] != NULL) {