diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-14 14:28:26 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-14 14:28:26 +0200 |
commit | d43848c0dd0603248405bb93364866cd495f0547 (patch) | |
tree | de367ef25f53a3e58496b964c4301cf16f216208 /src/os_macosx.m | |
parent | 164fca39bdacc36b7d9f2d1b28ab5abe03ce4004 (diff) | |
download | vim-git-d43848c0dd0603248405bb93364866cd495f0547.tar.gz |
Fix a few compiler warnings.
Diffstat (limited to 'src/os_macosx.m')
-rw-r--r-- | src/os_macosx.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os_macosx.m b/src/os_macosx.m index 7067df4b7..dcde55174 100644 --- a/src/os_macosx.m +++ b/src/os_macosx.m @@ -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]; } |