summaryrefslogtreecommitdiffstats
path: root/source/nmbd/nmbd_elections.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/nmbd/nmbd_elections.c')
-rw-r--r--source/nmbd/nmbd_elections.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/nmbd/nmbd_elections.c b/source/nmbd/nmbd_elections.c
index 915528b31ab..8f876eab0c5 100644
--- a/source/nmbd/nmbd_elections.c
+++ b/source/nmbd/nmbd_elections.c
@@ -135,9 +135,6 @@ void check_master_browser_exists(time_t t)
struct subnet_record *subrec;
char *workgroup_name = global_myworkgroup;
- if (!lastrun)
- lastrun = t;
-
if (t < (lastrun + (CHECK_TIME_MST_BROWSE * 60)))
return;