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