### Eclipse Workspace Patch 1.0
#P Drupal Head
Index: modules/system/system.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.install,v
retrieving revision 1.254
diff -u -r1.254 system.install
--- modules/system/system.install	15 May 2008 20:55:58 -0000	1.254
+++ modules/system/system.install	4 Jun 2008 03:07:09 -0000
@@ -134,7 +134,7 @@
 
     // Determine when cron last ran. If never, use the install time to
     // determine the warning or error status.
-    $cron_last = variable_get('cron_last', NULL);
+    $cron_last = variable_get('cron_last');
     $never_run = FALSE;
     if (!is_numeric($cron_last)) {
       $never_run = TRUE;
Index: modules/user/user.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.module,v
retrieving revision 1.909
diff -u -r1.909 user.module
--- modules/user/user.module	26 May 2008 17:12:55 -0000	1.909
+++ modules/user/user.module	4 Jun 2008 03:07:09 -0000
@@ -2361,7 +2361,7 @@
     // and never touch it on user edit pages.
     $form['timezone'] = array(
       '#type' => 'hidden',
-      '#default_value' => variable_get('date_default_timezone', NULL),
+      '#default_value' => variable_get('date_default_timezone'),
       '#id' => 'edit-user-register-timezone',
     );
 
Index: modules/user/user.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.test,v
retrieving revision 1.5
diff -u -r1.5 user.test
--- modules/user/user.test	2 Jun 2008 17:42:58 -0000	1.5
+++ modules/user/user.test	4 Jun 2008 03:07:09 -0000
@@ -45,7 +45,7 @@
     $this->assertEqual($user->signature, '', t('Correct signature field.'));
     $this->assertTrue(($user->created > time() - 20 ), t('Correct creation time.'));
     $this->assertEqual($user->status, variable_get('user_register', 1) == 1 ? 1 : 0, t('Correct status field.'));
-    $this->assertEqual($user->timezone, variable_get('date_default_timezone', NULL), t('Correct timezone field.'));
+    $this->assertEqual($user->timezone, variable_get('date_default_timezone'), t('Correct timezone field.'));
     $this->assertEqual($user->language, '', t('Correct language field.'));
     $this->assertEqual($user->picture, '', t('Correct picture field.'));
     $this->assertEqual($user->init, $mail, t('Correct init field.'));
Index: includes/bootstrap.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/bootstrap.inc,v
retrieving revision 1.211
diff -u -r1.211 bootstrap.inc
--- includes/bootstrap.inc	26 May 2008 17:12:54 -0000	1.211
+++ includes/bootstrap.inc	4 Jun 2008 03:07:09 -0000
@@ -493,7 +493,7 @@
  * @return
  *   The value of the variable.
  */
-function variable_get($name, $default) {
+function variable_get($name, $default = NULL) {
   global $conf;
 
   return isset($conf[$name]) ? $conf[$name] : $default;
@@ -911,7 +911,7 @@
   // Because this function is called on every page request, we first check
   // for an array of IP addresses in settings.php before querying the
   // database.
-  $blocked_ips = variable_get('blocked_ips', NULL);
+  $blocked_ips = variable_get('blocked_ips');
   if (isset($blocked_ips) && is_array($blocked_ips)) {
     return in_array($ip, $blocked_ips);
   }
Index: includes/file.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/file.inc,v
retrieving revision 1.125
diff -u -r1.125 file.inc
--- includes/file.inc	26 May 2008 17:12:54 -0000	1.125
+++ includes/file.inc	4 Jun 2008 03:07:09 -0000
@@ -956,7 +956,7 @@
  * @return A string containing a temp directory.
  */
 function file_directory_temp() {
-  $temporary_directory = variable_get('file_directory_temp', NULL);
+  $temporary_directory = variable_get('file_directory_temp');
 
   if (is_null($temporary_directory)) {
     $directories = array();
Index: modules/locale/locale.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/locale/locale.install,v
retrieving revision 1.30
diff -u -r1.30 locale.install
--- modules/locale/locale.install	14 Apr 2008 17:48:37 -0000	1.30
+++ modules/locale/locale.install	4 Jun 2008 03:07:09 -0000
@@ -172,7 +172,7 @@
 function locale_update_6005() {
   foreach (node_get_types() as $type => $content_type) {
     // Default to NULL, so we can skip dealing with non-existent settings.
-    $setting = variable_get('language_' . $type, NULL);
+    $setting = variable_get('language_' . $type);
     if ($type == 'default' && is_numeric($setting)) {
       // language_default was overwritten with the content type setting,
       // so reset the default language and save the content type setting.
Index: modules/color/color.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/color/color.module,v
retrieving revision 1.41
diff -u -r1.41 color.module
--- modules/color/color.module	19 May 2008 19:36:41 -0000	1.41
+++ modules/color/color.module	4 Jun 2008 03:07:09 -0000
@@ -55,7 +55,7 @@
   if ($form_id == 'system_theme_select_form' || $form_id == 'system_themes') {
     $themes = list_themes();
     foreach (element_children($form) as $theme) {
-      if ($screenshot = variable_get('color_' . $theme . '_screenshot', NULL)) {
+      if ($screenshot = variable_get('color_' . $theme . '_screenshot')) {
         if (isset($form[$theme]['screenshot'])) {
           $form[$theme]['screenshot']['#value'] = theme('image', $screenshot, '', '', array('class' => 'screenshot'), FALSE);
         }
