Hi, while looking into why DatagramSocket loocal: '8.8.8.8' port: '23000' is not giving an exception I looked into the file class, the errors variable appears to be unused and I think it is safe to remove it.
>From 2fea6a976eef2bc054766f321f0e675025136076 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther <[email protected]> Date: Wed, 16 Jun 2010 19:06:19 +0800 Subject: [PATCH 1/2] kernel/File.st: Remove unused local variable. --- ChangeLog | 4 ++++ kernel/File.st | 1 - 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 58311ef..265e8b4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-06-16 Holger Hans Peter Freyther <[email protected]> + + * kernel/File.st: Remove unused local variable. + 2010-06-06 Paolo Bonzini <[email protected]> * kernel/CompildCode.st: Implement #= using identity. Reported diff --git a/kernel/File.st b/kernel/File.st index ab6db58..3cc77eb 100644 --- a/kernel/File.st +++ b/kernel/File.st @@ -79,7 +79,6 @@ FilePath subclass: File [ If errno >= 1, raise an exception" <category: 'file operations'> - | errors | errno < 1 ifTrue: [^false]. SystemExceptions.FileError signal: (self stringError: errno). ^true -- 1.7.0.1
_______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
