[ruby-cvs:62893] nobu:r55729 (trunk): Fix Issues reported by PVS-Studio static analyzer

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Jul 22 19:55:22 JST 2016


nobu	2016-07-22 19:55:22 +0900 (Fri, 22 Jul 2016)

  New Revision: 55729

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55729

  Log:
    Fix Issues reported by PVS-Studio static analyzer
    
    * vm.c (vm_set_main_stack): remove unnecessary check.  toplevel
      binding must be initialized.  [Bug #12611] (N1)
    * win32/win32.c (w32_symlink): fix return type.  [Bug #12611] (N3)
    * string.c (rb_str_split_m): simplify the condition.
      [Bug #12611](N4)

  Modified files:
    trunk/ChangeLog
    trunk/string.c
    trunk/vm.c
    trunk/win32/win32.c


More information about the ruby-cvs mailing list