diff options
author | Landry Breuil <landry@openbsd.org> | 2015-11-14 09:28:36 +0100 |
---|---|---|
committer | Landry Breuil <landry@openbsd.org> | 2015-11-14 09:28:36 +0100 |
commit | 123eb7ccb5959dd3870378a83beea6573388ad21 (patch) | |
tree | 544104af3b31a4b783f016f6508a91b6a7802846 | |
parent | f5aeeb00cafe133dcebe52f8e5a16c720b5048bc (diff) | |
download | psutil-123eb7ccb5959dd3870378a83beea6573388ad21.tar.gz |
Dunno where those come from but -Wall says 'statement with no effect'... right.
-rw-r--r-- | psutil/arch/bsd/openbsd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/psutil/arch/bsd/openbsd.c b/psutil/arch/bsd/openbsd.c index 7a442660..04e13f2c 100644 --- a/psutil/arch/bsd/openbsd.c +++ b/psutil/arch/bsd/openbsd.c @@ -558,7 +558,6 @@ psutil_proc_connections(PyObject *self, PyObject *args) { else { // local address, IPv6 memcpy(&laddr6, kif->inp_laddru, sizeof(laddr6)); - (void *)(uintptr_t)kif->inp_ppcb; snprintf(addrbuf, sizeof(addrbuf), "%s", psutil_inet6_addrstr(&laddr6)); py_laddr = Py_BuildValue("(si)", addrbuf, lport); @@ -578,7 +577,6 @@ psutil_proc_connections(PyObject *self, PyObject *args) { else { // remote address, IPv6 memcpy(&laddr6, kif->inp_faddru, sizeof(laddr6)); - (void *)(uintptr_t)kif->inp_ppcb; snprintf(addrbuf, sizeof(addrbuf), "%s", psutil_inet6_addrstr(&laddr6)); py_raddr = Py_BuildValue("(si)", addrbuf, rport); |