From 3b233f46e0d37323d2efdb0bb0437d2b1d603b8d Mon Sep 17 00:00:00 2001 From: subtly Date: Mon, 18 May 2015 18:13:52 +0200 Subject: [PATCH] reverse ethash changes --- libethash/io_posix.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libethash/io_posix.c b/libethash/io_posix.c index 1dea66ed1..7f03d5482 100644 --- a/libethash/io_posix.c +++ b/libethash/io_posix.c @@ -89,7 +89,6 @@ bool ethash_get_default_dirname(char* strbuf, size_t buffsize) static const char dir_suffix[] = ".ethash/"; strbuf[0] = '\0'; char* home_dir = getenv("HOME"); - size_t len = strlen(home_dir); if (!ethash_strncat(strbuf, buffsize, home_dir, len)) { return false;