mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
Merge pull request #2353 from jszakmeister/fix-unused-var-warnings-in-release
Fix several unused variable warnings in the release build.
This commit is contained in:
@@ -2773,7 +2773,10 @@ void u_undoline(void)
|
||||
void u_blockfree(buf_T *buf)
|
||||
{
|
||||
while (buf->b_u_oldhead != NULL) {
|
||||
#ifndef NDEBUG
|
||||
u_header_T *previous_oldhead = buf->b_u_oldhead;
|
||||
#endif
|
||||
|
||||
u_freeheader(buf, buf->b_u_oldhead, NULL);
|
||||
assert(buf->b_u_oldhead != previous_oldhead);
|
||||
}
|
||||
|
Reference in New Issue
Block a user