From 509dadbe3ba8772367364484780754e10cb9a210 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 1 May 2022 00:03:25 +0100 Subject: [PATCH] script: piece_checkconflict_nrda: abolish unused return value This was always false, and no longer used apparently. Signed-off-by: Ian Jackson --- templates/script.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/script.ts b/templates/script.ts index 1edca6e4..bfe4480a 100644 --- a/templates/script.ts +++ b/templates/script.ts @@ -2134,7 +2134,7 @@ update_error_handlers.PieceOpError = function handle_piece_update(m.state); } -function piece_checkconflict_nrda(piece: PieceId, p: PieceInfo): boolean { +function piece_checkconflict_nrda(piece: PieceId, p: PieceInfo) { // Our state machine for cseq: // // When we send an update (api_piece_x) we always set cseq. If the @@ -2168,7 +2168,6 @@ function piece_checkconflict_nrda(piece: PieceId, p: PieceInfo): boolean { } p.cseq_main = null; p.cseq_loose = null; - return false; } function test_swap_stack() { -- 2.30.2