Skip to content

Commit

Permalink
Removed unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Dec 30, 2023
1 parent 4d2b096 commit 67ecc0a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/_imaging.c
Original file line number Diff line number Diff line change
Expand Up @@ -2742,9 +2742,8 @@ _font_getmask(ImagingFontObject *self, PyObject *args) {
PyObject *encoded_string;

unsigned char *text;
char *mode = "";

if (!PyArg_ParseTuple(args, "O|s:getmask", &encoded_string, &mode)) {
if (!PyArg_ParseTuple(args, "O:getmask", &encoded_string)) {
return NULL;
}

Expand Down

0 comments on commit 67ecc0a

Please sign in to comment.