summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/rpc_server/winreg/rpc_winreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/winreg/rpc_winreg.c b/source4/rpc_server/winreg/rpc_winreg.c
index 05f47a4483..d2d8902641 100644
--- a/source4/rpc_server/winreg/rpc_winreg.c
+++ b/source4/rpc_server/winreg/rpc_winreg.c
@@ -367,7 +367,7 @@ static WERROR dcesrv_winreg_QueryInfoKey(struct dcesrv_call_state *dce_call,
struct dcesrv_handle *h;
struct registry_key *k;
WERROR ret;
- const char *classname;
+ const char *classname = NULL;
DCESRV_PULL_HANDLE_FAULT(h, r->in.handle, HTYPE_REGKEY);