mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 23:31:51 +00:00
vim-patch:8.2.3460: some type casts are not needed #15868
Problem: Some type casts are not needed.
Solution: Remove unnecessary type casts. (closes vim/vim#8934)
dfa5e464d4
This commit is contained in:
@@ -643,12 +643,8 @@ void ex_hardcopy(exarg_T *eap)
|
||||
* PS.)
|
||||
*/
|
||||
if (mch_print_init(&settings,
|
||||
curbuf->b_fname == NULL
|
||||
? (char_u *)buf_spname(curbuf)
|
||||
: curbuf->b_sfname == NULL
|
||||
? curbuf->b_fname
|
||||
: curbuf->b_sfname,
|
||||
eap->forceit) == FAIL) {
|
||||
curbuf->b_fname == NULL ? buf_spname(curbuf) : curbuf->b_sfname ==
|
||||
NULL ? curbuf->b_fname : curbuf->b_sfname, eap->forceit) == FAIL) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user