]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3-spoolss: Remove duplicate macro.
authorSimo Sorce <idra@samba.org>
Tue, 27 Apr 2010 15:15:17 +0000 (11:15 -0400)
committerGünther Deschner <gd@samba.org>
Tue, 4 May 2010 17:38:27 +0000 (19:38 +0200)
Signed-off-by: Günther Deschner <gd@samba.org>
source3/rpc_server/srv_spoolss_util.c

index a0dc1289d4f80016c2960277429433a2d4d37a3c..004427914c54f8dadcbb551d1738a6ae25341f3c 100644 (file)
@@ -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);