Mercurial > minori
diff dep/animia/src/fd/linux.cc @ 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 | aa4df5a84338 |
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;