plugins/python: remove double assignment to same variable

Which coverity reports as undefined behaviour in CID #970978.
This commit is contained in:
Riccardo Magliocchetti
2013-01-27 10:22:31 +01:00
parent cf67363164
commit 5647aff995
+1 -1
View File
@@ -30,7 +30,7 @@ void set_dyn_pyhome(char *home, uint16_t pyhome_len) {
PyObject *pysys_dict = get_uwsgi_pydict("sys");
PyObject *pypath = pypath = PyDict_GetItemString(pysys_dict, "path");
PyObject *pypath = PyDict_GetItemString(pysys_dict, "path");
if (!pypath) {
PyErr_Print();
exit(1);