ruby-changes:46788
From: nobu <ko1@a...>
Date: Fri, 26 May 2017 18:49:25 +0900 (JST)
Subject: [ruby-changes:46788] nobu:r58903 (trunk): remove extra call to OleInitialize
nobu 2017-05-26 18:49:20 +0900 (Fri, 26 May 2017) New Revision: 58903 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58903 Log: remove extra call to OleInitialize [Fix GH-1629] Signed-off-by: Matt Wrock <matt@m...> Modified files: trunk/ext/win32ole/win32ole.c Index: ext/win32ole/win32ole.c =================================================================== --- ext/win32ole/win32ole.c (revision 58902) +++ ext/win32ole/win32ole.c (revision 58903) @@ -824,7 +824,6 @@ ole_initialize(void) https://github.com/ruby/ruby/blob/trunk/ext/win32ole/win32ole.c#L824 } else { hr = OleInitialize(NULL); } - hr = OleInitialize(NULL); if(FAILED(hr)) { ole_raise(hr, rb_eRuntimeError, "fail: OLE initialize"); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/