Do not set default value for unused variable

This commit is contained in:
Andrew Murray 2023-12-31 16:58:03 +11:00
parent 6cad0d62e7
commit 492e5b0e0a

View File

@ -2742,7 +2742,7 @@ _font_getmask(ImagingFontObject *self, PyObject *args) {
PyObject *encoded_string;
unsigned char *text;
char *mode = "";
char *mode;
if (!PyArg_ParseTuple(args, "O|s:getmask", &encoded_string, &mode)) {
return NULL;