mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Fix dead stores. Values were stored but never read. Limit scope.
This commit is contained in:
@@ -950,6 +950,7 @@ static void TestOtherProcess(fs::path dirname, std::string lockname, int fd)
|
||||
ReleaseDirectoryLocks();
|
||||
ch = true; // Always succeeds
|
||||
rv = write(fd, &ch, 1);
|
||||
assert(rv == 1);
|
||||
break;
|
||||
case ExitCommand:
|
||||
close(fd);
|
||||
|
||||
Reference in New Issue
Block a user