aboutsummaryrefslogtreecommitdiffstats
path: root/ext/win32ole
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-09 01:01:17 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-09 01:01:17 +0000
commitdff42b0ea0e6ef368ebbe0a666ff9be8d708c6df (patch)
tree747bdfdc049be6d4290cf28a1a7675fe7a8efcfa /ext/win32ole
parente76567c15b5b8bf5d45514d0c70cb40f6b15731f (diff)
downloadruby-dff42b0ea0e6ef368ebbe0a666ff9be8d708c6df.tar.gz
* ext/**/*.c (*_memsize): same as r52986 for extensions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32ole')
-rw-r--r--ext/win32ole/win32ole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c
index a76d3fc184..14147ab7bc 100644
--- a/ext/win32ole/win32ole.c
+++ b/ext/win32ole/win32ole.c
@@ -3872,7 +3872,7 @@ static size_t
com_hash_size(const void *ptr)
{
const st_table *tbl = ptr;
- return tbl ? st_memsize(tbl) : 0;
+ return st_memsize(tbl);
}
void