home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.3 / 7.3.1126 < prev    next >
Encoding:
Internet Message Format  |  2013-06-04  |  1.4 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.1126
  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.1126
  11. Problem:    Compiler warning for unitialized variable. (Tony Mechelynck)
  12. Solution:   Assign something to the variable.
  13. Files:        src/regexp_nfa.c
  14.  
  15.  
  16. *** ../vim-7.3.1125/src/regexp_nfa.c    2013-06-05 21:10:55.000000000 +0200
  17. --- src/regexp_nfa.c    2013-06-05 21:21:48.000000000 +0200
  18. ***************
  19. *** 2580,2585 ****
  20. --- 2580,2586 ----
  21.           nstate += n;
  22.           break;
  23.           }
  24. +         s = NULL; /* avoid compiler warning */
  25.           e1.out = NULL; /* stores list with out1's */
  26.           s1 = NULL; /* previous NFA_SPLIT to connect to */
  27.           while (n-- > 0)
  28. *** ../vim-7.3.1125/src/version.c    2013-06-05 21:10:55.000000000 +0200
  29. --- src/version.c    2013-06-05 21:22:52.000000000 +0200
  30. ***************
  31. *** 730,731 ****
  32. --- 730,733 ----
  33.   {   /* Add new patch number below this line */
  34. + /**/
  35. +     1126,
  36.   /**/
  37.  
  38. -- 
  39. From "know your smileys":
  40.  8<}}    Glasses, big nose, beard
  41.  
  42.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  43. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  44. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  45.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  46.