Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
04774e5b
Commit
04774e5b
authored
Jun 15, 2017
by
Tomoyuki Sahara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused exception variables.
parent
7c62d893
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mrblib/io.rb
mrblib/io.rb
+4
-4
No files found.
mrblib/io.rb
View file @
04774e5b
...
@@ -200,7 +200,7 @@ class IO
...
@@ -200,7 +200,7 @@ class IO
while
1
while
1
begin
begin
_read_buf
_read_buf
rescue
EOFError
=>
e
rescue
EOFError
array
=
nil
if
array
.
empty?
and
(
not
length
.
nil?
)
and
length
!=
0
array
=
nil
if
array
.
empty?
and
(
not
length
.
nil?
)
and
length
!=
0
break
break
end
end
...
@@ -248,7 +248,7 @@ class IO
...
@@ -248,7 +248,7 @@ class IO
while
1
while
1
begin
begin
_read_buf
_read_buf
rescue
EOFError
=>
e
rescue
EOFError
array
=
nil
if
array
.
empty?
array
=
nil
if
array
.
empty?
break
break
end
end
...
@@ -276,7 +276,7 @@ class IO
...
@@ -276,7 +276,7 @@ class IO
def
gets
(
*
args
)
def
gets
(
*
args
)
begin
begin
readline
(
*
args
)
readline
(
*
args
)
rescue
EOFError
=>
e
rescue
EOFError
nil
nil
end
end
end
end
...
@@ -291,7 +291,7 @@ class IO
...
@@ -291,7 +291,7 @@ class IO
def
getc
def
getc
begin
begin
readchar
readchar
rescue
EOFError
=>
e
rescue
EOFError
nil
nil
end
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment