From: Simo Sorce Date: Tue, 27 Apr 2010 15:15:17 +0000 (-0400) Subject: s3-spoolss: Remove duplicate macro. X-Git-Tag: samba-3.6.0pre1~2254 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17ce20ba960747b863e9c476ee7e46e051697fb2;p=thirdparty%2Fsamba.git s3-spoolss: Remove duplicate macro. Signed-off-by: Günther Deschner --- diff --git a/source3/rpc_server/srv_spoolss_util.c b/source3/rpc_server/srv_spoolss_util.c index a0dc1289d4f..004427914c5 100644 --- a/source3/rpc_server/srv_spoolss_util.c +++ b/source3/rpc_server/srv_spoolss_util.c @@ -3633,11 +3633,6 @@ WERROR winreg_get_driver(TALLOC_CTX *mem_ctx, v = &enum_values[i]; -#define CHECK_ERROR(result) \ - if (W_ERROR_IS_OK(result)) continue; \ - if (W_ERROR_EQUAL(result, WERR_NOT_FOUND)) result = WERR_OK; \ - if (!W_ERROR_IS_OK(result)) break - result = winreg_enumval_to_dword(info8, v, "Version", &info8->version);