summaryrefslogtreecommitdiff
path: root/source4/libcli/util/pyerrors.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/util/pyerrors.h')
-rw-r--r--source4/libcli/util/pyerrors.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/libcli/util/pyerrors.h b/source4/libcli/util/pyerrors.h
index 3fd2a7c9fa..4c526c6ed2 100644
--- a/source4/libcli/util/pyerrors.h
+++ b/source4/libcli/util/pyerrors.h
@@ -26,9 +26,6 @@
#define PyErr_FromString(str) Py_BuildValue("(s)", discard_const_p(char, str))
-#define PyErr_SetStringError(str) \
- PyErr_SetObject(PyExc_RuntimeError, PyErr_FromString(str))
-
#define PyErr_SetWERROR(err) \
PyErr_SetObject(PyExc_RuntimeError, PyErr_FromWERROR(err))