summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/librpc/gen_ndr/ndr_echo.c2
-rw-r--r--source3/librpc/gen_ndr/ndr_srvsvc.c16
-rw-r--r--source3/librpc/gen_ndr/ndr_wkssvc.c2
3 files changed, 0 insertions, 20 deletions
diff --git a/source3/librpc/gen_ndr/ndr_echo.c b/source3/librpc/gen_ndr/ndr_echo.c
index 8f71f886d5..fc9fe19e56 100644
--- a/source3/librpc/gen_ndr/ndr_echo.c
+++ b/source3/librpc/gen_ndr/ndr_echo.c
@@ -1167,7 +1167,6 @@ _PUBLIC_ void ndr_print_echo_TestEnum(struct ndr_print *ndr, const char *name, i
ndr->depth--;
ndr_print_ptr(ndr, "foo3", r->in.foo3);
ndr->depth++;
- if (r->in.foo1 == NULL) return;
ndr_print_set_switch_value(ndr, r->in.foo3, *r->in.foo1);
ndr_print_echo_Enum3(ndr, "foo3", r->in.foo3);
ndr->depth--;
@@ -1186,7 +1185,6 @@ _PUBLIC_ void ndr_print_echo_TestEnum(struct ndr_print *ndr, const char *name, i
ndr->depth--;
ndr_print_ptr(ndr, "foo3", r->out.foo3);
ndr->depth++;
- if (r->out.foo1 == NULL) return;
ndr_print_set_switch_value(ndr, r->out.foo3, *r->out.foo1);
ndr_print_echo_Enum3(ndr, "foo3", r->out.foo3);
ndr->depth--;
diff --git a/source3/librpc/gen_ndr/ndr_srvsvc.c b/source3/librpc/gen_ndr/ndr_srvsvc.c
index aca9c9afbd..04142231ab 100644
--- a/source3/librpc/gen_ndr/ndr_srvsvc.c
+++ b/source3/librpc/gen_ndr/ndr_srvsvc.c
@@ -13135,7 +13135,6 @@ _PUBLIC_ void ndr_print_srvsvc_NetCharDevEnum(struct ndr_print *ndr, const char
ndr->depth--;
ndr_print_ptr(ndr, "ctr", r->in.ctr);
ndr->depth++;
- if (r->in.level == NULL) return;
ndr_print_set_switch_value(ndr, r->in.ctr, *r->in.level);
ndr_print_srvsvc_NetCharDevCtr(ndr, "ctr", r->in.ctr);
ndr->depth--;
@@ -13157,7 +13156,6 @@ _PUBLIC_ void ndr_print_srvsvc_NetCharDevEnum(struct ndr_print *ndr, const char
ndr->depth--;
ndr_print_ptr(ndr, "ctr", r->out.ctr);
ndr->depth++;
- if (r->out.level == NULL) return;
ndr_print_set_switch_value(ndr, r->out.ctr, *r->out.level);
ndr_print_srvsvc_NetCharDevCtr(ndr, "ctr", r->out.ctr);
ndr->depth--;
@@ -13578,7 +13576,6 @@ _PUBLIC_ void ndr_print_srvsvc_NetCharDevQEnum(struct ndr_print *ndr, const char
ndr->depth--;
ndr_print_ptr(ndr, "ctr", r->in.ctr);
ndr->depth++;
- if (r->in.level == NULL) return;
ndr_print_set_switch_value(ndr, r->in.ctr, *r->in.level);
ndr_print_srvsvc_NetCharDevQCtr(ndr, "ctr", r->in.ctr);
ndr->depth--;
@@ -13600,7 +13597,6 @@ _PUBLIC_ void ndr_print_srvsvc_NetCharDevQEnum(struct ndr_print *ndr, const char
ndr->depth--;
ndr_print_ptr(ndr, "ctr", r->out.ctr);
ndr->depth++;
- if (r->out.level == NULL) return;
ndr_print_set_switch_value(ndr, r->out.ctr, *r->out.level);
ndr_print_srvsvc_NetCharDevQCtr(ndr, "ctr", r->out.ctr);
ndr->depth--;
@@ -14271,7 +14267,6 @@ _PUBLIC_ void ndr_print_srvsvc_NetConnEnum(struct ndr_print *ndr, const char *na
ndr->depth--;
ndr_print_ptr(ndr, "ctr", r->in.ctr);
ndr->depth++;
- if (r->in.level == NULL) return;
ndr_print_set_switch_value(ndr, r->in.ctr, *r->in.level);
ndr_print_srvsvc_NetConnCtr(ndr, "ctr", r->in.ctr);
ndr->depth--;
@@ -14293,7 +14288,6 @@ _PUBLIC_ void ndr_print_srvsvc_NetConnEnum(struct ndr_print *ndr, const char *na
ndr->depth--;
ndr_print_ptr(ndr, "ctr", r->out.ctr);
ndr->depth++;
- if (r->out.level == NULL) return;
ndr_print_set_switch_value(ndr, r->out.ctr, *r->out.level);
ndr_print_srvsvc_NetConnCtr(ndr, "ctr", r->out.ctr);
ndr->depth--;
@@ -14548,7 +14542,6 @@ _PUBLIC_ void ndr_print_srvsvc_NetFileEnum(struct ndr_print *ndr, const char *na
ndr->depth--;
ndr_print_ptr(ndr, "ctr", r->in.ctr);
ndr->depth++;
- if (r->in.level == NULL) return;
ndr_print_set_switch_value(ndr, r->in.ctr, *r->in.level);
ndr_print_srvsvc_NetFileCtr(ndr, "ctr", r->in.ctr);
ndr->depth--;
@@ -14570,7 +14563,6 @@ _PUBLIC_ void ndr_print_srvsvc_NetFileEnum(struct ndr_print *ndr, const char *na
ndr->depth--;
ndr_print_ptr(ndr, "ctr", r->out.ctr);
ndr->depth++;
- if (r->out.level == NULL) return;
ndr_print_set_switch_value(ndr, r->out.ctr, *r->out.level);
ndr_print_srvsvc_NetFileCtr(ndr, "ctr", r->out.ctr);
ndr->depth--;
@@ -15003,7 +14995,6 @@ _PUBLIC_ void ndr_print_srvsvc_NetSessEnum(struct ndr_print *ndr, const char *na
ndr->depth--;
ndr_print_ptr(ndr, "ctr", r->in.ctr);
ndr->depth++;
- if (r->in.level == NULL) return;
ndr_print_set_switch_value(ndr, r->in.ctr, *r->in.level);
ndr_print_srvsvc_NetSessCtr(ndr, "ctr", r->in.ctr);
ndr->depth--;
@@ -15025,7 +15016,6 @@ _PUBLIC_ void ndr_print_srvsvc_NetSessEnum(struct ndr_print *ndr, const char *na
ndr->depth--;
ndr_print_ptr(ndr, "ctr", r->out.ctr);
ndr->depth++;
- if (r->out.level == NULL) return;
ndr_print_set_switch_value(ndr, r->out.ctr, *r->out.level);
ndr_print_srvsvc_NetSessCtr(ndr, "ctr", r->out.ctr);
ndr->depth--;
@@ -15485,7 +15475,6 @@ _PUBLIC_ void ndr_print_srvsvc_NetShareEnumAll(struct ndr_print *ndr, const char
ndr->depth--;
ndr_print_ptr(ndr, "ctr", r->in.ctr);
ndr->depth++;
- if (r->in.level == NULL) return;
ndr_print_set_switch_value(ndr, r->in.ctr, *r->in.level);
ndr_print_srvsvc_NetShareCtr(ndr, "ctr", r->in.ctr);
ndr->depth--;
@@ -15507,7 +15496,6 @@ _PUBLIC_ void ndr_print_srvsvc_NetShareEnumAll(struct ndr_print *ndr, const char
ndr->depth--;
ndr_print_ptr(ndr, "ctr", r->out.ctr);
ndr->depth++;
- if (r->out.level == NULL) return;
ndr_print_set_switch_value(ndr, r->out.ctr, *r->out.level);
ndr_print_srvsvc_NetShareCtr(ndr, "ctr", r->out.ctr);
ndr->depth--;
@@ -16847,7 +16835,6 @@ _PUBLIC_ void ndr_print_srvsvc_NetTransportEnum(struct ndr_print *ndr, const cha
ndr->depth--;
ndr_print_ptr(ndr, "transports", r->in.transports);
ndr->depth++;
- if (r->in.level == NULL) return;
ndr_print_set_switch_value(ndr, r->in.transports, *r->in.level);
ndr_print_srvsvc_NetTransportCtr(ndr, "transports", r->in.transports);
ndr->depth--;
@@ -16869,7 +16856,6 @@ _PUBLIC_ void ndr_print_srvsvc_NetTransportEnum(struct ndr_print *ndr, const cha
ndr->depth--;
ndr_print_ptr(ndr, "transports", r->out.transports);
ndr->depth++;
- if (r->out.level == NULL) return;
ndr_print_set_switch_value(ndr, r->out.transports, *r->out.level);
ndr_print_srvsvc_NetTransportCtr(ndr, "transports", r->out.transports);
ndr->depth--;
@@ -17943,7 +17929,6 @@ _PUBLIC_ void ndr_print_srvsvc_NetShareEnum(struct ndr_print *ndr, const char *n
ndr->depth--;
ndr_print_ptr(ndr, "ctr", r->in.ctr);
ndr->depth++;
- if (r->in.level == NULL) return;
ndr_print_set_switch_value(ndr, r->in.ctr, *r->in.level);
ndr_print_srvsvc_NetShareCtr(ndr, "ctr", r->in.ctr);
ndr->depth--;
@@ -17965,7 +17950,6 @@ _PUBLIC_ void ndr_print_srvsvc_NetShareEnum(struct ndr_print *ndr, const char *n
ndr->depth--;
ndr_print_ptr(ndr, "ctr", r->out.ctr);
ndr->depth++;
- if (r->out.level == NULL) return;
ndr_print_set_switch_value(ndr, r->out.ctr, *r->out.level);
ndr_print_srvsvc_NetShareCtr(ndr, "ctr", r->out.ctr);
ndr->depth--;
diff --git a/source3/librpc/gen_ndr/ndr_wkssvc.c b/source3/librpc/gen_ndr/ndr_wkssvc.c
index 9455d09c5f..52685e1dbc 100644
--- a/source3/librpc/gen_ndr/ndr_wkssvc.c
+++ b/source3/librpc/gen_ndr/ndr_wkssvc.c
@@ -2829,7 +2829,6 @@ _PUBLIC_ void ndr_print_wkssvc_NetWkstaTransportEnum(struct ndr_print *ndr, cons
ndr->depth--;
ndr_print_ptr(ndr, "ctr", r->in.ctr);
ndr->depth++;
- if (r->in.level == NULL) return;
ndr_print_set_switch_value(ndr, r->in.ctr, *r->in.level);
ndr_print_wkssvc_NetWkstaTransportCtr(ndr, "ctr", r->in.ctr);
ndr->depth--;
@@ -2849,7 +2848,6 @@ _PUBLIC_ void ndr_print_wkssvc_NetWkstaTransportEnum(struct ndr_print *ndr, cons
ndr->depth--;
ndr_print_ptr(ndr, "ctr", r->out.ctr);
ndr->depth++;
- if (r->out.level == NULL) return;
ndr_print_set_switch_value(ndr, r->out.ctr, *r->out.level);
ndr_print_wkssvc_NetWkstaTransportCtr(ndr, "ctr", r->out.ctr);
ndr->depth--;