diff options
| author | Gavin Andresen <[email protected]> | 2012-04-17 10:12:33 -0700 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2012-04-17 10:12:33 -0700 |
| commit | e873dc654c81810272e71af8b52a3836d2c8bf0a (patch) | |
| tree | a0817e682ac7884a146e67a956027c1f6ac086f0 /src/util.cpp | |
| parent | main.cpp: replace tabs with spaces (diff) | |
| parent | Remove unused and unreachable code (diff) | |
| download | discoin-e873dc654c81810272e71af8b52a3836d2c8bf0a.tar.xz discoin-e873dc654c81810272e71af8b52a3836d2c8bf0a.zip | |
Merge pull request #1115 from laanwj/2012_04_cleanupmisc
Delete unused, unreachable and commented code, add missing initializer
Diffstat (limited to 'src/util.cpp')
| -rw-r--r-- | src/util.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index a5427c061..c1e3c5a80 100644 --- 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); |