From c885c2d30b69925f6dd9f36e74c247e650db327b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 1 Mar 2011 08:52:34 +0000 Subject: remove unused tryinit function Something I considered but decided wasn't worth doing. --- ext/posix_mq/posix_mq.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'ext/posix_mq/posix_mq.c') diff --git a/ext/posix_mq/posix_mq.c b/ext/posix_mq/posix_mq.c index 73cd815..2b979a7 100644 --- a/ext/posix_mq/posix_mq.c +++ b/ext/posix_mq/posix_mq.c @@ -988,14 +988,6 @@ static VALUE setnonblock(VALUE self, VALUE nb) return nb; } -static VALUE tryinit(int argc, VALUE *argv, VALUE self) -{ - init(argc, argv, self); - setnonblock(self, Qtrue); - - return self; -} - /* * call-seq: * mq.trysend(string [,priority[, timeout]]) => +true+ or +false+ -- cgit v1.2.3-24-ge0c7