]> code.citadel.org Git - citadel.git/commitdiff
* Eliminate an unused variable
authorArt Cancro <ajc@citadel.org>
Tue, 2 Mar 2010 04:58:17 +0000 (04:58 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 2 Mar 2010 04:58:17 +0000 (04:58 +0000)
citadel/modules/chat/serv_chat.c

index 32e2f629ba92bbdbc82118b9e94da35a2f8138df..bc46f2cf5afc6698a23e3ac83871ee01fc38f797 100644 (file)
@@ -667,12 +667,10 @@ int send_instant_message(char *lun, char *lem, char *x_user, char *x_msg)
        struct CitContext *ccptr;
        struct ExpressMessage *newmsg = NULL;
        char *un;
-       size_t msglen = 0;
        int do_send = 0;                /* 1 = send message; 0 = only check for valid recipient */
        static int serial_number = 0;   /* this keeps messages from getting logged twice */
 
        if (strlen(x_msg) > 0) {
-               msglen = strlen(x_msg) + 4;
                do_send = 1;
        }