fixed warning gcc -Wparentheses warning
This commit is contained in:
parent
f1a72fb2e8
commit
b961b9218f
@ -235,7 +235,7 @@ Config_foreach_callback_wrapper(const git_config_entry *entry, void *c_payload)
|
||||
if (!(py_result = PyObject_CallObject(py_callback,args)))
|
||||
return -1;
|
||||
|
||||
if (c_result = PyLong_AsLong(py_result) == -1)
|
||||
if ((c_result = PyLong_AsLong(py_result) == -1))
|
||||
return -1;
|
||||
|
||||
return c_result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user