r24727: Initialize variable.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 27 Aug 2007 22:18:16 +0000 (22:18 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:02:58 +0000 (15:02 -0500)
(This used to be commit 925fcc336621250a8e45adf3ce8d2ff42307c066)

source4/rpc_server/winreg/rpc_winreg.c

index 05f47a4483e227d19e3b8de3f6a9cf5902cb9e4b..d2d8902641cfeb007bb4f8fadfe319063ce52427 100644 (file)
@@ -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);