]> jfr.im git - irc/quakenet/newserv.git/commitdiff
request: Remove dead assignments.
authorGunnar Beutner <redacted>
Wed, 24 Jul 2013 15:18:04 +0000 (17:18 +0200)
committerGunnar Beutner <redacted>
Wed, 24 Jul 2013 15:18:04 +0000 (17:18 +0200)
request/request.c
request/request_fasttrack.c

index 823da2285e02d1476c10e62e0a31f7d35c820da2..d7da20ceaf8908fb932a01ff6a8b6282c747647f 100644 (file)
@@ -324,8 +324,6 @@ int rqcmd_request(void *user, int cargc, char **cargv) {
     return RQ_ERROR;
   }
 
-  retval = RQ_ERROR;
-
   retval = lr_requestl(rqnick, np, cp, qnick);
 
   if (rq_logfd != NULL) {
index 2663c9dca2e2b7f9889fe4490b7bc79c52c490e2..7cfd91858afb7a8af583f6f39c2aa74d6e8895ef 100644 (file)
@@ -68,7 +68,7 @@ static void rqhook_account(int hook, void *arg) {
 }
 
 static void rq_cleanup_fasttrack(void *arg) {
-  time_t now = getnettime();
+  time_t now;
   rq_fasttrack **pft, *ft;
   int j;
   nick *tnp;