diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2018-05-22 17:48:38 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2018-05-22 17:48:38 +0200 |
commit | f4c6b02461cc89a7f9a98a164d346b4dfb72bee0 (patch) | |
tree | df4f00e67f655baa5a063f553d5c97856a2cf67c | |
parent | 1b5f8d55d22167d640eeb52d0b82f69dec83d210 (diff) | |
download | psutil-f4c6b02461cc89a7f9a98a164d346b4dfb72bee0.tar.gz |
fix freebsd compilation warning
-rw-r--r-- | psutil/arch/freebsd/specific.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/psutil/arch/freebsd/specific.c b/psutil/arch/freebsd/specific.c index cf0b7df2..177ac8a6 100644 --- a/psutil/arch/freebsd/specific.c +++ b/psutil/arch/freebsd/specific.c @@ -273,7 +273,6 @@ psutil_proc_exe(PyObject *self, PyObject *args) { int mib[4]; int ret; size_t size; - const char *encoding_errs; if (! PyArg_ParseTuple(args, "l", &pid)) return NULL; @@ -540,7 +539,6 @@ psutil_proc_cwd(PyObject *self, PyObject *args) { struct kinfo_file *freep = NULL; struct kinfo_file *kif; struct kinfo_proc kipp; - const char *encoding_errs; PyObject *py_path = NULL; int i, cnt; |