mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Address warnings issued by the MSVC++ compiler
This commit is contained in:
parent
462a5495fb
commit
39b0f8976c
4 changed files with 4 additions and 5 deletions
|
|
@ -193,7 +193,6 @@ PyPcre_compile(self, args)
|
|||
PyObject *dictionary;
|
||||
char *pattern;
|
||||
const char *error;
|
||||
int num_zeros, i, j;
|
||||
|
||||
int options, erroroffset;
|
||||
if (!PyArg_ParseTuple(args, "siO!", &pattern, &options,
|
||||
|
|
|
|||
|
|
@ -3044,8 +3044,8 @@ if (md->off_num) free(md->off_num);
|
|||
if (md->offset_top) free(md->offset_top);
|
||||
if (md->r1) free(md->r1);
|
||||
if (md->r2) free(md->r2);
|
||||
if (md->eptr) free(md->eptr);
|
||||
if (md->ecode) free(md->ecode);
|
||||
if (md->eptr) free((char *)md->eptr);
|
||||
if (md->ecode) free((char *)md->ecode);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue