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