mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Merge pull request #155 from dwrobel/master
Fixes an uninitialized value for an optional parameter.
This commit is contained in:
commit
5aeb7b584b
|
@ -1202,7 +1202,7 @@ PySane_get_devices(PyObject *self, PyObject *args)
|
|||
const SANE_Device *dev;
|
||||
SANE_Status st;
|
||||
PyObject *list;
|
||||
int local_only, i;
|
||||
int local_only = 0, i;
|
||||
|
||||
if (!PyArg_ParseTuple(args, "|i", &local_only))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user