[前][次][番号順一覧][スレッド一覧]

ruby-changes:34781

From: suke <ko1@a...>
Date: Fri, 18 Jul 2014 19:56:42 +0900 (JST)
Subject: [ruby-changes:34781] suke:r46864 (trunk): * ext/win32ole/win32ole.c (folevariant_initialize): remove unnecessary

suke	2014-07-18 19:56:31 +0900 (Fri, 18 Jul 2014)

  New Revision: 46864

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

  Log:
    * ext/win32ole/win32ole.c (folevariant_initialize): remove unnecessary
      code.

  Modified files:
    trunk/ChangeLog
    trunk/ext/win32ole/win32ole.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 46863)
+++ ChangeLog	(revision 46864)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Jul 18 19:54:03 2014  Masaki Suketa <masaki.suketa@n...>
+
+	* ext/win32ole/win32ole.c (folevariant_initialize): remove unnecessary
+	  code.
+
 Fri Jul 18 19:11:03 2014  Marc-Andre Lafortune  <ruby-core@m...>
 
 	* lib/matrix/eigenvalue_decomposition: Style fix
Index: ext/win32ole/win32ole.c
===================================================================
--- ext/win32ole/win32ole.c	(revision 46863)
+++ ext/win32ole/win32ole.c	(revision 46864)
@@ -143,7 +143,7 @@ const IID IID_IMultiLanguage2 = {0xDCCFC https://github.com/ruby/ruby/blob/trunk/ext/win32ole/win32ole.c#L143
 
 #define WC2VSTR(x) ole_wc2vstr((x), TRUE)
 
-#define WIN32OLE_VERSION "1.5.9"
+#define WIN32OLE_VERSION "1.6.0"
 
 typedef HRESULT (STDAPICALLTYPE FNCOCREATEINSTANCEEX)
     (REFCLSID, IUnknown*, DWORD, COSERVERINFO*, DWORD, MULTI_QI*);
@@ -8894,7 +8894,6 @@ folevariant_initialize(VALUE self, VALUE https://github.com/ruby/ruby/blob/trunk/ext/win32ole/win32ole.c#L8894
         vt = NUM2INT(vvt);
         ole_val2olevariantdata(val, vt, pvar);
     }
-    vt = V_VT(&pvar->var);
     return self;
 }
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]