git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Remove unused and unreachable code
[novacoin.git]
/
src
/
util.cpp
diff --git
a/src/util.cpp
b/src/util.cpp
index
a5427c0
..
c1e3c5a
100644
(file)
--- a/
src/util.cpp
+++ b/
src/util.cpp
@@
-301,7
+301,6
@@
bool error(const char *format, ...)
va_end(arg_ptr);
if (ret < 0 || ret >= limit)
{
- ret = limit - 1;
buffer[limit-1] = 0;
}
printf("ERROR: %s\n", buffer);