Karsten Hopp 9f018a
To: vim_dev@googlegroups.com
Karsten Hopp 9f018a
Subject: Patch 7.3.045
Karsten Hopp 9f018a
Fcc: outbox
Karsten Hopp 9f018a
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 9f018a
Mime-Version: 1.0
Karsten Hopp 9f018a
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 9f018a
Content-Transfer-Encoding: 8bit
Karsten Hopp 9f018a
------------
Karsten Hopp 9f018a
Karsten Hopp 9f018a
Patch 7.3.045
Karsten Hopp 9f018a
Problem:    Compiler warning for uninitialized variable.
Karsten Hopp 9f018a
Solution:   Initialize the variable always.
Karsten Hopp 9f018a
Files:	    src/getchar.c
Karsten Hopp 9f018a
Karsten Hopp 9f018a
Karsten Hopp 9f018a
*** ../vim-7.3.044/src/getchar.c	2010-10-27 12:17:54.000000000 +0200
Karsten Hopp 9f018a
--- src/getchar.c	2010-10-27 17:28:45.000000000 +0200
Karsten Hopp 9f018a
***************
Karsten Hopp 9f018a
*** 3290,3298 ****
Karsten Hopp 9f018a
       */
Karsten Hopp 9f018a
      if (haskey)
Karsten Hopp 9f018a
  	keys = replace_termcodes(keys, &keys_buf, TRUE, TRUE, special);
Karsten Hopp 9f018a
      if (hasarg)
Karsten Hopp 9f018a
      {
Karsten Hopp 9f018a
- 	orig_rhs = rhs;
Karsten Hopp 9f018a
  	if (STRICMP(rhs, "<nop>") == 0)	    /* "<Nop>" means nothing */
Karsten Hopp 9f018a
  	    rhs = (char_u *)"";
Karsten Hopp 9f018a
  	else
Karsten Hopp 9f018a
--- 3290,3298 ----
Karsten Hopp 9f018a
       */
Karsten Hopp 9f018a
      if (haskey)
Karsten Hopp 9f018a
  	keys = replace_termcodes(keys, &keys_buf, TRUE, TRUE, special);
Karsten Hopp 9f018a
+     orig_rhs = rhs;
Karsten Hopp 9f018a
      if (hasarg)
Karsten Hopp 9f018a
      {
Karsten Hopp 9f018a
  	if (STRICMP(rhs, "<nop>") == 0)	    /* "<Nop>" means nothing */
Karsten Hopp 9f018a
  	    rhs = (char_u *)"";
Karsten Hopp 9f018a
  	else
Karsten Hopp 9f018a
*** ../vim-7.3.044/src/version.c	2010-10-27 17:11:11.000000000 +0200
Karsten Hopp 9f018a
--- src/version.c	2010-10-27 17:30:11.000000000 +0200
Karsten Hopp 9f018a
***************
Karsten Hopp 9f018a
*** 716,717 ****
Karsten Hopp 9f018a
--- 716,719 ----
Karsten Hopp 9f018a
  {   /* Add new patch number below this line */
Karsten Hopp 9f018a
+ /**/
Karsten Hopp 9f018a
+     45,
Karsten Hopp 9f018a
  /**/
Karsten Hopp 9f018a
Karsten Hopp 9f018a
-- 
Karsten Hopp 9f018a
MARTHA'S WAY: Don't throw out all that leftover wine. Freeze into ice cubes
Karsten Hopp 9f018a
              for future use in casseroles and sauces.
Karsten Hopp 9f018a
MY WAY:       What leftover wine?
Karsten Hopp 9f018a
Karsten Hopp 9f018a
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 9f018a
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 9f018a
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 9f018a
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///