C89 fixes

This commit is contained in:
William S Fulton 2022-10-14 22:34:18 +01:00
commit 15c433c5f9
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@
#include "swig.h" #include "swig.h"
#include "cparse.h" #include "cparse.h"
extern int UseWrapperSuffix; // from main.cxx extern int UseWrapperSuffix;
static const char *cresult_variable_name = "result"; static const char *cresult_variable_name = "result";

View file

@ -81,7 +81,7 @@ String *Swig_package_version_hex(void) {
count++; count++;
} }
Delete(package_version); Delete(package_version);
assert(count == 3); // Check version format is correct assert(count == 3); /* Check version format is correct */
return vers; return vers;
} }