nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4740906
)
file: fix useless var warnings
author
Alexandre Terrasa
<alexandre@moz-code.org>
Wed, 19 Nov 2014 04:48:27 +0000
(23:48 -0500)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Tue, 25 Nov 2014 21:12:07 +0000
(16:12 -0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/standard/file.nit
patch
|
blob
|
history
diff --git
a/lib/standard/file.nit
b/lib/standard/file.nit
index
d5c1fd1
..
60f5f69
100644
(file)
--- a/
lib/standard/file.nit
+++ b/
lib/standard/file.nit
@@
-65,7
+65,7
@@
class IFStream
redef fun close
do
- var i = _file.io_close
+ _file.io_close
_buffer.clear
end_reached = true
end
@@
-114,7
+114,7
@@
class OFStream
redef fun close
do
- var i = _file.io_close
+ _file.io_close
_is_writable = false
end