Fix for pvs V782, pointer access to first element of array

This commit is contained in:
Peter Kalauskas
2017-11-19 23:19:41 -08:00
parent fdcde7dba3
commit c24b74c229
2 changed files with 2 additions and 2 deletions

View File

@@ -1696,7 +1696,7 @@ static void printdigraph(digr_T *dp)
}
}
p = buf;
p = &buf[0];
*p++ = dp->char1;
*p++ = dp->char2;
*p++ = ' ';