*: Fix linter errors

This commit is contained in:
ZyX
2017-12-11 10:19:20 +03:00
parent d46e37cb4c
commit f4132fb38b
8 changed files with 29 additions and 25 deletions

View File

@@ -5616,7 +5616,7 @@ static bool get_clipboard(int name, yankreg_T **target, bool quiet)
goto err;
}
char_u *regtype = TV_LIST_ITEM_TV(tv_list_last(res))->vval.v_string;
if (regtype == NULL || strlen((char*)regtype) > 1) {
if (regtype == NULL || strlen((char *)regtype) > 1) {
goto err;
}
switch (regtype[0]) {