mirror of https://github.com/python/cpython
Fixed a warning in _codecs_iso2022.c and some non C89 conform // comments.
This commit is contained in:
parent
42da874cdd
commit
2518b25578
|
@ -256,7 +256,7 @@ ffi_closure_SYSV_inner (closure, respp, args)
|
|||
void **respp;
|
||||
void *args;
|
||||
{
|
||||
// our various things...
|
||||
/* our various things... */
|
||||
ffi_cif *cif;
|
||||
void **arg_area;
|
||||
|
||||
|
|
|
@ -232,7 +232,7 @@ typedef struct {
|
|||
#define DBSequenceObject_Check(v) ((v)->ob_type == bsddb_api->dbsequence_type)
|
||||
#endif
|
||||
|
||||
#endif // COMPILING_BSDDB_C
|
||||
#endif /* COMPILING_BSDDB_C */
|
||||
|
||||
|
||||
#endif // _BSDDB_H_
|
||||
#endif /* _BSDDB_H_ */
|
||||
|
|
|
@ -203,7 +203,7 @@ ENCODER(iso2022)
|
|||
} else
|
||||
encoded = dsg->encoder(&c, &length);
|
||||
#else
|
||||
encoded = dsg->encoder(*inbuf, &length);
|
||||
encoded = dsg->encoder(&c, &length);
|
||||
#endif
|
||||
if (encoded != MAP_UNMAPPABLE) {
|
||||
insize = length;
|
||||
|
|
Loading…
Reference in New Issue