From 0b6bb3b193a132941bff80421cdf59c00ada0460 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 19 Jun 2006 07:14:28 +0000 Subject: * ext/socket/socket.c (unix_sysaccept): typo fixed. * ext/socket/socket.c (sock_connect): remove an unused local variable tmpaddr. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/mathn.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/mathn.rb b/lib/mathn.rb index 3dea0afec..84c0b4704 100644 --- a/lib/mathn.rb +++ b/lib/mathn.rb @@ -25,6 +25,7 @@ class Integer end def prime_division + raise ZeroDivisionError if self == 0 ps = Prime.new value = self pv = [] -- cgit