diff options
author | Alessandro Bono <alessandro.bono369@gmail.com> | 2022-09-29 11:26:45 +0200 |
---|---|---|
committer | Ray Strode <halfline@gmail.com> | 2022-10-27 19:28:33 +0000 |
commit | 77f04c4e4d63e5152f09059e9b06a9ab8d21fbf5 (patch) | |
tree | 13ea58db7a0170f4e1c0432c932408c3ba49c5c6 /daemon | |
parent | 7ee84ad0172e2c53b8f1ac08ede88f2bb03b9069 (diff) | |
download | gdm-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.c | 1 |
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); |