Skip to content

Commit 169e33b

Browse files
committed
---
yaml --- r: 12267 b: refs/heads/master c: 3232c52 h: refs/heads/master i: 12265: c99a488 12263: 722f126 v: v3
1 parent 565e9a3 commit 169e33b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 6042aefeeb067c8077a9ae4245c8aeef89489103
2+
refs/heads/master: 3232c52a61506124b0fd0079533cca4daf25e318
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/rt/circular_buffer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ circular_buffer::circular_buffer(rust_kernel *kernel, size_t unit_sz) :
2424
circular_buffer::~circular_buffer() {
2525
KLOG(kernel, mem, "~circular_buffer 0x%" PRIxPTR, this);
2626
assert(_buffer);
27-
assert(_unread != 0 && "didn't expect bytes in the circular buffer");
27+
assert(_unread == 0 && "didn't expect bytes in the circular buffer");
2828

2929
kernel->free(_buffer);
3030
}

0 commit comments

Comments
 (0)