[ruby-cvs:74167] ko1:r67063 (trunk): check return value of `write` to suppress warning.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Wed Feb 13 18:40:45 JST 2019


ko1	2019-02-13 18:40:45 +0900 (Wed, 13 Feb 2019)

  New Revision: 67063

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

  Log:
    check return value of `write` to suppress warning.
    
    * ext/-test-/gvl/call_without_gvl/call_without_gvl.c (do_loop):
      `-Wunused-result` compiler option (gcc?) checks checking
      return value of `write`.

  Modified files:
    trunk/ext/-test-/gvl/call_without_gvl/call_without_gvl.c


More information about the ruby-cvs mailing list