浏览代码

Keep -vet happy

gingerBill 4 年之前
父节点
当前提交
0996cc82a7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      examples/demo/demo.odin

+ 1 - 0
examples/demo/demo.odin

@@ -2098,6 +2098,7 @@ or_return_operator :: proc() {
 
 		// The above idiom can be transformed into the following
 		y := caller_2() or_return;
+		_ = y;
 
 		// And if the expression is 1-valued, it can be used like this
 		caller_1() or_return;