mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
Do not set default value for unused variable
This commit is contained in:
parent
6cad0d62e7
commit
492e5b0e0a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user