From 8348c9538a1f7b9d054d35b5941f7625e7e5b965 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 11 Jul 2005 10:37:21 +0000 Subject: [PATCH] Fixed some Errors detected by eclipse. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@933 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/functions.inc b/include/functions.inc index f586a0c66..db9cacaf2 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -302,7 +302,6 @@ function ldap_login_user ($username, $password) /* user not found */ case 0: return (NULL); - break; /* valid uniq user */ case 1: @@ -966,7 +965,7 @@ function get_printer_list($cups_server) /* CUPS is not available, try lpstat as a replacement */ } else { - unset ($ar); + $ar = false; exec("lpstat -p", $ar); foreach($ar as $val){ list($dummy, $printer, $rest)= split(' ', $val, 3); -- 2.30.2