]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libcli/security: sddl: remove unreachable debug
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 26 Oct 2023 04:25:43 +0000 (17:25 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 1 Nov 2023 20:10:46 +0000 (20:10 +0000)
As it stands, ace_conditions_compile_sddl() won't produce a message when
it succeeds (i.e. return non-NULL), so this debug is just clutter.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/security/sddl.c

index a08d762b72fe80c410fde9294885e693b4586bc5..a0457e1605d0da63bc8d2890f8f244e384b9e417 100644 (file)
@@ -506,10 +506,6 @@ static DATA_BLOB sddl_decode_conditions(TALLOC_CTX *mem_ctx,
                if (! ok) {
                        DBG_ERR("could not blobify '%s'\n", conditions);
                }
-               if (*message) {
-                       DBG_ERR("                  %*c", (int)message_offset, '^');
-                       DBG_ERR("error '%s'\n", *message);
-               }
        }
        return blob;
 }