Fix a harmless compiler warning in imap_cmd_login().
[claws.git] / src / imap.c
index 1ce9f3948b44b262fdb0b44f9af4da9dd1e28d15..264dd7d8e61271a191f15b1f7399b77c15678aa6 100644 (file)
@@ -4091,7 +4091,7 @@ static gint imap_cmd_login(IMAPSession *session,
        gint ok;
 
        if (!strcmp(type, "plaintext") && imap_has_capability(session, "LOGINDISABLED")) {
-               gint ok = MAILIMAP_ERROR_BAD_STATE;
+               ok = MAILIMAP_ERROR_BAD_STATE;
                if (imap_has_capability(session, "STARTTLS")) {
 #ifdef USE_GNUTLS
                        log_warning(LOG_PROTOCOL, _("Server requires STARTTLS to log in.\n"));