[gnome-usage] app-item: Drop an unused variable
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-usage] app-item: Drop an unused variable
- Date: Fri, 3 Dec 2021 11:39:16 +0000 (UTC)
commit 1c4b42fe4a5498ea206e52cf11aa18c0e8ca1299
Author: Adrien Plazas <kekun plazas laposte net>
Date: Fri Dec 3 12:29:02 2021 +0100
app-item: Drop an unused variable
src/app-item.vala | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/src/app-item.vala b/src/app-item.vala
index f8a420c..53296e4 100644
--- a/src/app-item.vala
+++ b/src/app-item.vala
@@ -103,7 +103,6 @@ namespace Usage {
public static AppInfo? app_info_for_process (Process p) {
AppInfo? info = null;
string ?cgroup = null;
- Pid pid = p.pid;
cgroup = Process.read_cgroup(p.pid);
if (cgroup != null) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]