diff options
Diffstat (limited to 'src/nvim/os/rstream.c')
| -rw-r--r-- | src/nvim/os/rstream.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/src/nvim/os/rstream.c b/src/nvim/os/rstream.c index d96b3d931c..beff404fd0 100644 --- a/src/nvim/os/rstream.c +++ b/src/nvim/os/rstream.c @@ -396,6 +396,7 @@ static void close_cb(uv_handle_t *handle)  static void rbuffer_relocate(RBuffer *rbuffer)  { +  assert(rbuffer->rpos <= rbuffer->wpos);    // Move data ...    memmove(        rbuffer->data,  // ...to the beginning of the buffer(rpos 0) | 
