chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0199e01
)
script: piece_checkconflict_nrda: abolish unused return value
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 30 Apr 2022 23:03:25 +0000
(
00:03
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 30 Apr 2022 23:03:25 +0000
(
00:03
+0100)
This was always false, and no longer used apparently.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
templates/script.ts
patch
|
blob
|
history
diff --git
a/templates/script.ts
b/templates/script.ts
index 1edca6e40283f027bf154c6ec80dfd00a28ab052..bfe4480a82fe88e04434dc102e106d1eadbc70ca 100644
(file)
--- a/
templates/script.ts
+++ b/
templates/script.ts
@@
-2134,7
+2134,7
@@
update_error_handlers.PieceOpError = <MessageHandler>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() {