From b5bee9559dadcbe6a5669faac98d3201954c0606 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 14 Jun 2011 07:44:18 +0000 Subject: num2timespec: remove needless double-assignment Oops --- ext/posix_mq/posix_mq.c | 1 - 1 file changed, 1 deletion(-) (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 7aa426a..75b38e4 100644 --- a/ext/posix_mq/posix_mq.c +++ b/ext/posix_mq/posix_mq.c @@ -185,7 +185,6 @@ static void num2timespec(struct timespec *ts, VALUE t) ts->tv_sec = (time_t)f; if (f != ts->tv_sec) rb_raise(rb_eRangeError, "%f out of range", val); - ts->tv_sec = (time_t)f; } break; default: { -- cgit v1.2.3-24-ge0c7