summaryrefslogtreecommitdiffstats
path: root/util/shmctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/shmctl.c')
-rw-r--r--util/shmctl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/util/shmctl.c b/util/shmctl.c
index 357b24a1..74cf3e12 100644
--- a/util/shmctl.c
+++ b/util/shmctl.c
@@ -231,8 +231,6 @@ inline void utmpsort(int sortall)
}
SHM->UTMPnumber = count;
qsort(SHM->sorted[ns][0], count, sizeof(userinfo_t *), cmputmpuserid);
- for (i = 0; i < count; ++i)
- ((userinfo_t *) SHM->sorted[ns][0][i])->idoffset = i;
memcpy(SHM->sorted[ns][6],
SHM->sorted[ns][0], sizeof(userinfo_t *) * count);
memcpy(SHM->sorted[ns][7],