summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-26 09:49:20 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-26 09:49:20 +0000
commite3c140681a29ad4b9792eb163116ac96c3b8ef5e (patch)
treee333acebcf79ecd5a71051dd1e097ed62a444c51 /ext
parent190e29f72e8b1412e4b43d2a61912184429b850d (diff)
remove extra call to OleInitialize
[Fix GH-1629] Signed-off-by: Matt Wrock <matt@mattwrock.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/win32ole/win32ole.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c
index b05ace7..41e70a2 100644
--- a/ext/win32ole/win32ole.c
+++ b/ext/win32ole/win32ole.c
@@ -824,7 +824,6 @@ ole_initialize(void)
} else {
hr = OleInitialize(NULL);
}
- hr = OleInitialize(NULL);
if(FAILED(hr)) {
ole_raise(hr, rb_eRuntimeError, "fail: OLE initialize");
}