projects
/
ecparse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe0848a
)
simplify
author
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Sat, 5 Jul 2008 17:22:00 +0000
(19:22 +0200)
committer
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Sat, 5 Jul 2008 17:22:00 +0000
(19:22 +0200)
FileReaderInput.cpp
patch
|
blob
|
history
diff --git
a/FileReaderInput.cpp
b/FileReaderInput.cpp
index
5596f8f
..
0492233
100644
(file)
--- a/
FileReaderInput.cpp
+++ b/
FileReaderInput.cpp
@@
-13,10
+13,7
@@
FileReaderInput::~FileReaderInput() {
}
size_t FileReaderInput::read(void* buffer, size_t length) {
- size_t readBytes;
-
- readBytes = fread(buffer, 1, length, file);
- return readBytes;
+ return fread(buffer, 1, length, file);
}
bool FileReaderInput::isEOF() {