Sfoglia il codice sorgente

No need to set xk here, it is done below.

Spotted by:	scan-build
Bryan Drewery 11 anni fa
parent
commit
ac92a33096
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/set.cc

+ 1 - 1
src/set.cc

@@ -735,7 +735,7 @@ void var_parse_my_botset()
   /* look for local vars inside our own USERENTRY_SET and set them in our cfg struct */
   set_noshare = 1;                      /* why bother sharing out our LOCAL settings? */
   parsing_botset = 1;
-  xk = x = (struct xtra_key *) get_user(&USERENTRY_SET, conf.bot->u);
+  x = (struct xtra_key *) get_user(&USERENTRY_SET, conf.bot->u);
   for (i = 0; vars[i].name; i++) {
     xk = x;	/* reset pointer to beginning */