Sfoglia il codice sorgente

remove nonsensical statement from journal replay of aborted entries

at this stage, entries cannot possibly have messages assigned to them,
so trying to unlink them makes no sense.

amends b1842617.
Oswald Buddenhagen 8 anni fa
parent
commit
887b2205ff
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0 2
      src/sync.c

+ 0 - 2
src/sync.c

@@ -877,8 +877,6 @@ load_state( sync_vars_t *svars )
 					switch (c) {
 					case '-':
 						debug( "killed\n" );
-						if (srec->msg[M])
-							srec->msg[M]->srec = 0;
 						srec->status = S_DEAD;
 						break;
 					case '#':