summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-11-07 18:32:54 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2006-11-07 18:32:54 -0800
commitfd251f039f74f2ef8ef8a019566eebf9d22be098 (patch)
tree8270fea65d38f94c907952391db4941d2ee485cb
parent21bee0694be43d4be1d93a8bcafbcd0f0ef9a9b4 (diff)
Clear unused variable warnings from lint
-rw-r--r--sessreg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sessreg.c b/sessreg.c
index 0393628..4d8acbe 100644
--- a/sessreg.c
+++ b/sessreg.c
@@ -188,11 +188,12 @@ main (int argc, char **argv)
int utmp;
#endif
char *line_tmp;
+#ifndef USE_UTMPX
int wtmp;
+#endif
Time_t current_time;
struct utmp utmp_entry;
#ifdef USE_UTMPX
- int wtmpx;
struct utmpx utmpx_entry;
#endif