Skip to content

Commit

Permalink
Fix missing field initializers
Browse files Browse the repository at this point in the history
  • Loading branch information
Léa Klein committed Sep 19, 2018
1 parent f6d7683 commit 98c0bb8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
'-fPIC',

# required w/Xcode 5.1+ and above because of '-mno-fused-madd'
'-Wno-error=unused-command-line-argument-hard-error-in-future'
'-Wno-error=unused-command-line-argument'
]
),
]
Expand Down
8 changes: 6 additions & 2 deletions src/watchdog_fsevents.c
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ static PyMethodDef watchdog_fsevents_methods[] =

{"stop", watchdog_stop, METH_O, watchdog_stop__doc__},

{NULL},
{NULL, NULL, 0, NULL},
};


Expand Down Expand Up @@ -605,7 +605,11 @@ static struct PyModuleDef watchdog_fsevents_module = {
MODULE_NAME,
watchdog_fsevents_module__doc__,
-1,
watchdog_fsevents_methods
watchdog_fsevents_methods,
NULL, /* m_slots */
NULL, /* m_traverse */
0, /* m_clear */
NULL /* m_free */
};

/**
Expand Down

0 comments on commit 98c0bb8

Please sign in to comment.