Ensure all callers to the rpc_client/cli_pipe functions correctly
[samba.git] / source3 / libsmb / passchange.c
index 570a048502c0ca5fb12083859a8b67d961156fc2..e8c412be46b4d5fc25195519ce3a384ad0d148aa 100644 (file)
@@ -28,8 +28,8 @@ NTSTATUS remote_password_change(const char *remote_machine, const char *user_nam
                                char **err_str)
 {
        struct nmb_name calling, called;
-       struct cli_state *cli;
-       struct rpc_pipe_client *pipe_hnd;
+       struct cli_state *cli = NULL;
+       struct rpc_pipe_client *pipe_hnd = NULL;
        struct sockaddr_storage ss;
        char *user, *domain, *p;