[ruby-cvs:60171] normal:r53018 (trunk): marshal.c: remove NULL checks for *_memsize

normal at ruby-lang.org normal at ruby-lang.org
Thu Dec 10 06:34:05 JST 2015


normal	2015-12-10 06:34:01 +0900 (Thu, 10 Dec 2015)

  New Revision: 53018

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

  Log:
    marshal.c: remove NULL checks for *_memsize
    
    This follows r52986, NULL checks in rb_data_type_t.function.dsize
    callbacks are unnecessary.
    
    * marshal.c (memsize_dump_arg): remove NULL check
      (memsize_load_arg): ditto

  Modified files:
    trunk/ChangeLog
    trunk/marshal.c


More information about the ruby-cvs mailing list