summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-05 18:23:45 +0200
committerGünther Deschner <gd@samba.org>2010-05-05 18:23:45 +0200
commit65105aafb45dbb6d59da411a98b41dbdc4c1a0c7 (patch)
treece7d17b27faa66f3dc077d2d418eb27cb455473a
parent386c1fffacb712ed86d7665640ecaa2e764ab322 (diff)
downloadsamba-65105aafb45dbb6d59da411a98b41dbdc4c1a0c7.tar.gz
samba-65105aafb45dbb6d59da411a98b41dbdc4c1a0c7.tar.bz2
samba-65105aafb45dbb6d59da411a98b41dbdc4c1a0c7.zip
s3-spoolss: remove unused winreg_enumval_to_blob().
Guenther
-rw-r--r--source3/rpc_server/srv_spoolss_util.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/source3/rpc_server/srv_spoolss_util.c b/source3/rpc_server/srv_spoolss_util.c
index ef136eb37e..1752329e4c 100644
--- a/source3/rpc_server/srv_spoolss_util.c
+++ b/source3/rpc_server/srv_spoolss_util.c
@@ -1139,26 +1139,6 @@ static WERROR winreg_enumval_to_multi_sz(TALLOC_CTX *mem_ctx,
return WERR_OK;
}
-static WERROR winreg_enumval_to_blob(TALLOC_CTX *mem_ctx,
- struct spoolss_PrinterEnumValues *v,
- const char *valuename,
- DATA_BLOB *blob)
-{
- /* just return if it is not the one we are looking for */
- if (strcmp(valuename, v->value_name) != 0) {
- return WERR_NOT_FOUND;
- }
-
- if (v->type != REG_BINARY) {
- return WERR_INVALID_DATATYPE;
- }
-
- blob->data = v->data->data;
- blob->length = v->data_length;
-
- return WERR_OK;
-}
-
static WERROR winreg_printer_write_date(TALLOC_CTX *mem_ctx,
struct rpc_pipe_client *pipe_handle,
struct policy_handle *key_handle,