mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-17 11:42:25 +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;
|
PyObject *encoded_string;
|
||||||
|
|
||||||
unsigned char *text;
|
unsigned char *text;
|
||||||
char *mode = "";
|
char *mode;
|
||||||
|
|
||||||
if (!PyArg_ParseTuple(args, "O|s:getmask", &encoded_string, &mode)) {
|
if (!PyArg_ParseTuple(args, "O|s:getmask", &encoded_string, &mode)) {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user