0
0
mirror of https://github.com/vim/vim.git synced 2025-11-01 10:07:16 -04:00

Fix a few compiler warnings.

This commit is contained in:
Bram Moolenaar
2010-07-14 14:28:26 +02:00
parent 164fca39bd
commit d43848c0dd
4 changed files with 17 additions and 11 deletions

View File

@@ -686,7 +686,7 @@ clip_mch_request_selection(VimClipboard *cbd)
n = [mstring replaceOccurrencesOfString:@"\x0d" withString:@"\x0a"
options:0 range:range];
}
/* Scan for newline character to decide whether the string should be
* pasted line-wise or character-wise.
*/
@@ -734,7 +734,7 @@ clip_mch_set_selection(VimClipboard *cbd)
cbd->owned = TRUE;
clip_get_selection(cbd);
cbd->owned = FALSE;
/* Get the text to put on the pasteboard. */
long_u llen = 0; char_u *str = 0;
int motion_type = clip_convert_selection(&str, &llen, cbd);
@@ -771,7 +771,7 @@ clip_mch_set_selection(VimClipboard *cbd)
[pb setPropertyList:plist forType:VimPboardType];
[pb setString:string forType:NSStringPboardType];
[string release];
}