summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
authorAlessandro Bono <alessandro.bono369@gmail.com>2022-09-29 11:26:45 +0200
committerRay Strode <halfline@gmail.com>2022-10-27 19:28:33 +0000
commit77f04c4e4d63e5152f09059e9b06a9ab8d21fbf5 (patch)
tree13ea58db7a0170f4e1c0432c932408c3ba49c5c6 /daemon
parent7ee84ad0172e2c53b8f1ac08ede88f2bb03b9069 (diff)
downloadgdm-77f04c4e4d63e5152f09059e9b06a9ab8d21fbf5.tar.gz
gdm-session-worker: Remove dead code
Value stored to 'fd' is never read.
Diffstat (limited to 'daemon')
-rw-r--r--daemon/gdm-session-worker.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c
index 000879cf..2a39d632 100644
--- a/daemon/gdm-session-worker.c
+++ b/daemon/gdm-session-worker.c
@@ -2268,7 +2268,6 @@ set_xdg_vtnr_to_current_vt (GdmSessionWorker *worker)
}
close (fd);
- fd = -1;
g_snprintf (vt_string, sizeof (vt_string), "%d", vt_state.v_active);