Browse Source

Remove unused strlen values.

Spotted by:	scan-build
Bryan Drewery 11 năm trước cách đây
mục cha
commit
a8e28649ee
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      src/mod/server.mod/server.cc

+ 0 - 2
src/mod/server.mod/server.cc

@@ -575,7 +575,6 @@ static bool fast_deq(int which)
       }    
   }
   to = newsplit(&msg);
-  len = strlen(to);
   victims = to;
   while (m) {
     nm = m->next;
@@ -585,7 +584,6 @@ static bool fast_deq(int which)
     nextmsg = nextmsgstr;
     nextcmd = newsplit(&nextmsg);
     nextto = newsplit(&nextmsg);
-    len = strlen(nextto);
     if ( strcmp(to, nextto) /* we don't stack to the same recipients */
         && !strcmp(cmd, nextcmd) && !strcmp(msg, nextmsg)
         && ((strlen(cmd) + victims.length() + strlen(nextto)