Explorar o código

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 %!s(int64=8) %!d(string=hai) anos
pai
achega
887b2205ff
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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 '#':