Skip to content

Commit

Permalink
use (void) for empty function parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Yay295 authored Apr 22, 2024
1 parent be324b9 commit 8f9b039
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/_webp.c
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ WebPDecode_wrapper(PyObject *self, PyObject *args) {
// Return the decoder's version number, packed in hexadecimal using 8bits for
// each of major/minor/revision. E.g: v2.5.7 is 0x020507.
PyObject *
WebPDecoderVersion_wrapper() {
WebPDecoderVersion_wrapper(void) {
return Py_BuildValue("i", WebPGetDecoderVersion());
}

Expand Down Expand Up @@ -912,7 +912,7 @@ WebPDecoderBuggyAlpha(void) {
}

PyObject *
WebPDecoderBuggyAlpha_wrapper() {
WebPDecoderBuggyAlpha_wrapper(void) {
return Py_BuildValue("i", WebPDecoderBuggyAlpha());
}

Expand Down

0 comments on commit 8f9b039

Please sign in to comment.