changeset 145:8e9b71970bda

linux: fix stupid bug caused by... me?
author Paper <mrpapersonic@gmail.com>
date Sun, 12 Nov 2023 18:38:38 -0500
parents e6668085e24d
children d8a61e7e2a36
files dep/animia/src/fd/linux.cc
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dep/animia/src/fd/linux.cc	Sun Nov 12 18:35:49 2023 -0500
+++ b/dep/animia/src/fd/linux.cc	Sun Nov 12 18:38:38 2023 -0500
@@ -117,7 +117,6 @@
 bool LinuxFdTools::GetProcessName(pid_t pid, std::string& result) {
 	const std::string path = PROC_LOCATION "/" + std::to_string(pid) + "/comm";
 
-	std::string result;
 	if (!util::ReadFile(path, result))
 		return false;