mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Add the const qualifier to "char *" variables that refer to literal strings. (#4370)
This commit is contained in:
@@ -1300,7 +1300,7 @@ err_input(perrdetail *err)
|
||||
{
|
||||
PyObject *v, *w, *errtype, *errtext;
|
||||
PyObject *msg_obj = NULL;
|
||||
char *msg = NULL;
|
||||
const char *msg = NULL;
|
||||
int offset = err->offset;
|
||||
|
||||
errtype = PyExc_SyntaxError;
|
||||
|
||||
Reference in New Issue
Block a user