]> git.pld-linux.org Git - packages/vim.git/blob - 7.3.370
- new
[packages/vim.git] / 7.3.370
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.370
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.3.370
11 Problem:    Compiler warns for unused variable in Lua interface.
12 Solution:   Remove the variable.
13 Files:      src/if_lua.c
14
15
16 *** ../vim-7.3.369/src/if_lua.c 2011-09-21 17:15:34.000000000 +0200
17 --- src/if_lua.c        2011-12-01 20:19:17.000000000 +0100
18 ***************
19 *** 1044,1056 ****
20       static int
21   luaV_open(lua_State *L)
22   {
23 -     luaV_Buffer *b;
24       char_u *s = NULL;
25   #ifdef HAVE_SANDBOX
26       luaV_checksandbox(L);
27   #endif
28       if (lua_isstring(L, 1)) s = (char_u *) lua_tostring(L, 1);
29 !     b = luaV_pushbuffer(L, buflist_new(s, NULL, 1L, BLN_LISTED));
30       return 1;
31   }
32   
33 --- 1044,1055 ----
34       static int
35   luaV_open(lua_State *L)
36   {
37       char_u *s = NULL;
38   #ifdef HAVE_SANDBOX
39       luaV_checksandbox(L);
40   #endif
41       if (lua_isstring(L, 1)) s = (char_u *) lua_tostring(L, 1);
42 !     luaV_pushbuffer(L, buflist_new(s, NULL, 1L, BLN_LISTED));
43       return 1;
44   }
45   
46 *** ../vim-7.3.369/src/version.c        2011-12-08 15:57:54.000000000 +0100
47 --- src/version.c       2011-12-08 15:59:35.000000000 +0100
48 ***************
49 *** 716,717 ****
50 --- 716,719 ----
51   {   /* Add new patch number below this line */
52 + /**/
53 +     370,
54   /**/
55
56 -- 
57 Emacs is a nice OS - but it lacks a good text editor.
58 That's why I am using Vim.  --Anonymous
59
60  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
61 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
62 \\\  an exciting new programming language -- http://www.Zimbu.org        ///
63  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.02592 seconds and 3 git commands to generate.