summaryrefslogtreecommitdiff
path: root/librpc/ndr
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-02-20 11:51:47 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-02-20 17:59:13 +1100
commita7036a9e47382e738f6ebedf13719222950611d6 (patch)
tree81e72b1bed09c06c9d5dc27265248faeb2d8f51e /librpc/ndr
parenta9d9447d5a448e13d4373c3c4b48f0edd49dc38a (diff)
downloadsamba-a7036a9e47382e738f6ebedf13719222950611d6.tar.gz
samba-a7036a9e47382e738f6ebedf13719222950611d6.tar.bz2
samba-a7036a9e47382e738f6ebedf13719222950611d6.zip
librpc/ndr Remove unused macros
Since the change to the way we pull these OIDs from the wire, these macros are unused. Andrew Bartlett
Diffstat (limited to 'librpc/ndr')
-rw-r--r--librpc/ndr/ndr_drsuapi.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/librpc/ndr/ndr_drsuapi.c b/librpc/ndr/ndr_drsuapi.c
index 17f2b7e2ed..b91d5f7def 100644
--- a/librpc/ndr/ndr_drsuapi.c
+++ b/librpc/ndr/ndr_drsuapi.c
@@ -66,22 +66,6 @@ void ndr_print_drsuapi_DsReplicaObjectListItemEx(struct ndr_print *ndr, const ch
}
}
-#define _OID_PUSH_CHECK(call) do { \
- bool _status; \
- _status = call; \
- if (_status != true) { \
- return ndr_push_error(ndr, NDR_ERR_SUBCONTEXT, "OID Conversion Error: %s\n", __location__); \
- } \
-} while (0)
-
-#define _OID_PULL_CHECK(call) do { \
- bool _status; \
- _status = call; \
- if (_status != true) { \
- return ndr_pull_error(ndr, NDR_ERR_SUBCONTEXT, "OID Conversion Error: %s\n", __location__); \
- } \
-} while (0)
-
_PUBLIC_ void ndr_print_drsuapi_DsReplicaOID(struct ndr_print *ndr, const char *name, const struct drsuapi_DsReplicaOID *r)
{
ndr_print_struct(ndr, name, "drsuapi_DsReplicaOID");