r15808: Fix two uninitialized variables, caught by the IBM Checker.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 22 May 2006 16:25:04 +0000 (16:25 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:08:25 +0000 (14:08 -0500)
(This used to be commit 673e101b0732f7601a92069159e4d1eac7790506)

source4/client/client.c

index 2646332d03fd54e21213d069a671891b7c68e169..0100887777a841d47437d5c8946a9b00e0e11404 100644 (file)
@@ -3053,11 +3053,11 @@ static int do_message_op(const char *desthost, const char *destip, int name_type
  int main(int argc,char *argv[])
 {
        const char *base_directory = NULL;
-       const char *dest_ip;
+       const char *dest_ip = NULL;
        int opt;
        const char *query_host = NULL;
        BOOL message = False;
-       const char *desthost;
+       const char *desthost = NULL;
 #ifdef KANJI
        const char *term_code = KANJI;
 #else