From 25627234451735154d7c8a12ed920397d0371b1c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 21 Feb 2009 12:49:01 +0100 Subject: Fix an uninitialized variable --- source3/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index cb568256c7..3d29f3afd9 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -4665,7 +4665,7 @@ static void init_printer_values(struct service *pService) */ static int max_open_files(void) { - int sysctl_max; + int sysctl_max = MAX_OPEN_FILES; struct rlimit rl; bool sysctl_worked = false, rlimit_worked = false; -- cgit