845afa9
To: vim-dev@vim.org
845afa9
Subject: Patch 7.0.004
845afa9
Fcc: outbox
845afa9
From: Bram Moolenaar <Bram@moolenaar.net>
845afa9
Mime-Version: 1.0
845afa9
Content-Type: text/plain; charset=ISO-8859-1
845afa9
Content-Transfer-Encoding: 8bit
845afa9
------------
845afa9
845afa9
Patch 7.0.004
845afa9
Problem:    Compiler warning for debug_saved used before set. (Todd Blumer)
845afa9
Solution:   Remove the "else" for calling save_dbg_stuff().
845afa9
Files:	    src/ex_docmd.c
845afa9
845afa9
845afa9
*** ../vim-7.0.003/src/ex_docmd.c	Wed May 10 15:22:49 2006
845afa9
--- src/ex_docmd.c	Mon May  8 16:43:34 2006
845afa9
***************
845afa9
*** 833,839 ****
845afa9
       * If requested, store and reset the global values controlling the
845afa9
       * exception handling (used when debugging).
845afa9
       */
845afa9
!     else if (flags & DOCMD_EXCRESET)
845afa9
  	save_dbg_stuff(&debug_saved);
845afa9
  
845afa9
      initial_trylevel = trylevel;
845afa9
--- 833,839 ----
845afa9
       * If requested, store and reset the global values controlling the
845afa9
       * exception handling (used when debugging).
845afa9
       */
845afa9
!     if (flags & DOCMD_EXCRESET)
845afa9
  	save_dbg_stuff(&debug_saved);
845afa9
  
845afa9
      initial_trylevel = trylevel;
845afa9
*** ../vim-7.0.003/src/version.c	Wed May 10 17:12:51 2006
845afa9
--- src/version.c	Wed May 10 17:14:34 2006
845afa9
***************
845afa9
*** 668,669 ****
845afa9
--- 668,671 ----
845afa9
  {   /* Add new patch number below this line */
845afa9
+ /**/
845afa9
+     4,
845afa9
  /**/
845afa9
845afa9
-- 
845afa9
From "know your smileys":
845afa9
 :-D	Big smile
845afa9
845afa9
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
845afa9
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
845afa9
\\\        download, build and distribute -- http://www.A-A-P.org        ///
845afa9
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///