s3-nltest: fix uninitialized query level.
authorGünther Deschner <gd@samba.org>
Thu, 25 Feb 2010 18:31:06 +0000 (19:31 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 25 Feb 2010 18:31:06 +0000 (19:31 +0100)
Guenther

source3/lib/netapi/examples/netlogon/nltest.c

index a9fe6dec9f8412a297b7d0eda42fe7899b4a1011..9dc70daa616058018900bcd94bd84d71d9b7273f 100644 (file)
@@ -108,7 +108,7 @@ int main(int argc, const char **argv)
        const char *server_name = NULL;
        char *opt_domain = NULL;
        int opt_dbflag = 0;
-       uint32_t query_level;
+       uint32_t query_level = 0;
        uint8_t *buffer = NULL;
 
        poptContext pc;