Index: includes/bootstrap.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/bootstrap.inc,v
retrieving revision 1.268
diff -u -r1.268 bootstrap.inc
--- includes/bootstrap.inc	25 Jan 2009 12:19:31 -0000	1.268
+++ includes/bootstrap.inc	28 Jan 2009 19:59:25 -0000
@@ -631,7 +631,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;
@@ -1046,7 +1046,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.155
diff -u -r1.155 file.inc
--- includes/file.inc	22 Jan 2009 12:46:05 -0000	1.155
+++ includes/file.inc	28 Jan 2009 19:59:26 -0000
@@ -1407,7 +1407,7 @@
  *   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/user/user.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/user/user.test,v
retrieving revision 1.26
diff -u -r1.26 user.test
--- modules/user/user.test	20 Jan 2009 03:10:00 -0000	1.26
+++ modules/user/user.test	28 Jan 2009 19:59:28 -0000
@@ -42,7 +42,7 @@
     $this->assertEqual($user->signature, '', t('Correct signature field.'));
     $this->assertTrue(($user->created > REQUEST_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 time zone field.'));
+    $this->assertEqual($user->timezone, variable_get('date_default_timezone'), t('Correct time zone 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: modules/color/color.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/color/color.module,v
retrieving revision 1.53
diff -u -r1.53 color.module
--- modules/color/color.module	22 Jan 2009 03:11:52 -0000	1.53
+++ modules/color/color.module	28 Jan 2009 19:59:26 -0000
@@ -72,7 +72,7 @@
   // Use the generated screenshot in the theme list.
   $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']['#markup'] = theme('image', $screenshot, '', '', array('class' => 'screenshot'), FALSE);
       }
@@ -127,7 +127,7 @@
   }
 
   // Override logo.
-  $logo = variable_get('color_' . $theme_key . '_logo', NULL);
+  $logo = variable_get('color_' . $theme_key . '_logo');
   if ($logo && $vars['logo'] && preg_match('!' . $theme_key . '/logo.png$!', $vars['logo'])) {
     $vars['logo'] = base_path() . $logo;
   }
Index: modules/locale/locale.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/locale/locale.install,v
retrieving revision 1.32
diff -u -r1.32 locale.install
--- modules/locale/locale.install	20 Dec 2008 18:24:37 -0000	1.32
+++ modules/locale/locale.install	28 Jan 2009 19:59:26 -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/simpletest/tests/bootstrap.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/simpletest/tests/bootstrap.test,v
retrieving revision 1.11
diff -u -r1.11 bootstrap.test
--- modules/simpletest/tests/bootstrap.test	22 Jan 2009 03:05:18 -0000	1.11
+++ modules/simpletest/tests/bootstrap.test	28 Jan 2009 19:59:26 -0000
@@ -151,7 +151,7 @@
     // Setting and retrieving values.
     $variable = $this->randomName();
     variable_set('simpletest_bootstrap_variable_test', $variable);
-    $this->assertIdentical($variable, variable_get('simpletest_bootstrap_variable_test', NULL), t('Setting and retrieving values'));
+    $this->assertIdentical($variable, variable_get('simpletest_bootstrap_variable_test'), t('Setting and retrieving values'));
 
     // Make sure the variable persists across multiple requests.
     $this->drupalGet('system-test/variable-get');
Index: modules/system/system.api.php
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.api.php,v
retrieving revision 1.15
diff -u -r1.15 system.api.php
--- modules/system/system.api.php	27 Jan 2009 00:22:26 -0000	1.15
+++ modules/system/system.api.php	28 Jan 2009 19:59:27 -0000
@@ -1322,7 +1322,7 @@
 
   // Report cron status
   if ($phase == 'runtime') {
-    $cron_last = variable_get('cron_last', NULL);
+    $cron_last = variable_get('cron_last');
 
     if (is_numeric($cron_last)) {
       $requirements['cron']['value'] = $t('Last run !time ago', array('!time' => format_interval(REQUEST_TIME - $cron_last)));
Index: modules/system/system.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.install,v
retrieving revision 1.304
diff -u -r1.304 system.install
--- modules/system/system.install	25 Jan 2009 16:46:05 -0000	1.304
+++ modules/system/system.install	28 Jan 2009 19:59:27 -0000
@@ -134,7 +134,7 @@
     $help = $t('For more information, see the online handbook entry for <a href="@cron-handbook">configuring cron jobs</a>.', array('@cron-handbook' => 'http://drupal.org/cron'));
 
     // Determine when cron last ran.
-    $cron_last = variable_get('cron_last', NULL);
+    $cron_last = variable_get('cron_last');
     if (!is_numeric($cron_last)) {
       $cron_last = variable_get('install_time', 0);
     }
@@ -2491,7 +2491,7 @@
  */
 function system_update_6042() {
   foreach (list_themes() as $theme) {
-    $stylesheet = variable_get('color_' . $theme->name . '_stylesheet', NULL);
+    $stylesheet = variable_get('color_' . $theme->name . '_stylesheet');
     if (!empty($stylesheet)) {
       variable_set('color_' . $theme->name . '_stylesheets', array($stylesheet));
       variable_del('color_' . $theme->name . '_stylesheet');
@@ -2853,12 +2853,12 @@
       }
     }
     // Rename forum module's block variables.
-    $forum_block_num_0 = variable_get('forum_block_num_0', NULL);
+    $forum_block_num_0 = variable_get('forum_block_num_0');
     if (isset($forum_block_num_0)) {
       variable_set('forum_block_num_active', $forum_block_num_0);
       variable_del('forum_block_num_0');
     }
-    $forum_block_num_1 = variable_get('forum_block_num_1', NULL);
+    $forum_block_num_1 = variable_get('forum_block_num_1');
     if (isset($forum_block_num_1)) {
       variable_set('forum_block_num_new', $forum_block_num_1);
       variable_del('forum_block_num_1');
@@ -3090,7 +3090,7 @@
   $timezones = system_time_zones();
   // If the contributed Date module set a default time zone name, use this
   // setting as the default time zone.
-  if (($timezone_name = variable_get('date_default_timezone_name', NULL)) && isset($timezones[$timezone_name])) {
+  if (($timezone_name = variable_get('date_default_timezone_name')) && isset($timezones[$timezone_name])) {
     $timezone = $timezone_name;
   }
   // If the contributed Event module has set a default site time zone, look up
