clang/"Dead assignment"

This commit is contained in:
Justin M. Keyes
2019-01-13 17:10:46 +01:00
parent 94fc3e0182
commit ddd4ed3ce5
5 changed files with 4 additions and 6 deletions

View File

@@ -10103,6 +10103,7 @@ Dictionary commands_array(buf_T *buf)
{
Dictionary rv = ARRAY_DICT_INIT;
Object obj = NIL;
(void)obj; // Avoid "dead assignment" warning.
char str[10];
garray_T *gap = (buf == NULL) ? &ucmds : &buf->b_ucmds;