From: Ian Jackson Date: Sun, 1 May 2022 18:02:24 +0000 (+0100) Subject: apitest: updates: drop a dbg and the parameter it uses X-Git-Tag: otter-1.1.0~344 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=a54312ca670ded868b9354926b320f9eeaa49ed3;p=otter.git apitest: updates: drop a dbg and the parameter it uses I'm not sure why nick is passed here. Whatever. Signed-off-by: Ian Jackson --- diff --git a/apitest/atmain.rs b/apitest/atmain.rs index 08b0cd2f..66a174f0 100644 --- a/apitest/atmain.rs +++ b/apitest/atmain.rs @@ -404,7 +404,7 @@ impl IndexSlice]> where PI: index_vec::Idx { } pub fn update_update_pieces( - nick: &str, + _nick: &str, pieces: &mut Pieces, k: &str, v: &JsV ) { @@ -447,7 +447,6 @@ pub fn update_update_pieces( panic!("unknown op {:?} {:?}", &op, &d); }, }; - dbgc!(nick, k,v,p); } else if k == "Image" { let p = p.unwrap(); let im = v.get("im").unwrap();