Skip to content

Commit

Permalink
Do not set default value for unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Jan 1, 2024
1 parent 6cad0d6 commit 492e5b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_imaging.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 492e5b0

Please sign in to comment.