### Eclipse Workspace Patch 1.0
#P drupal-contrib-cvs
Index: modules/site_map/site_map.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/site_map/site_map.module,v
retrieving revision 1.36
diff -u -r1.36 site_map.module
--- modules/site_map/site_map.module	26 Sep 2007 14:13:37 -0000	1.36
+++ modules/site_map/site_map.module	3 Jan 2008 22:29:09 -0000
@@ -277,6 +277,8 @@
 }
 
 function theme_site_map_feed_icon($url, $type = 'node') {
+  $output = '';
+
   switch ($type) {
     case 'node':
       $output = theme('image', (drupal_get_path('module', 'site_map') .'/feed-small.png'), t('Syndicate content'), t('Syndicate content'));
@@ -307,6 +309,7 @@
  * Render the latest blog authors
  */
 function _site_map_blogs() {
+  $output = '';
   if (module_exists('blog')) {
     $title = t('Blogs');
     $output = '<div class="description">'. t("Community blog and recent blog authors at %sn.", array("%sn" => variable_get('site_name', 'Drupal'))) .'</div>';
@@ -328,6 +331,7 @@
 }
 
 function _site_map_audio() {
+  $output = '';
   if (module_exists('audio')) {
     $title = t('Audio');
     $output = l(t('Audio content'), 'audio') . (variable_get('site_map_show_rss_links', 1) ? ' '. theme('site_map_feed_icon', url('audio/feed')) : '');
@@ -338,6 +342,7 @@
 }
 
 function _site_map_video() {
+  $output = '';
   if (module_exists('video')) {
     $title = t('Video');
     $output = l(t('Video content'), 'video') . (variable_get('site_map_show_rss_links', 1) ? ' '. theme('site_map_feed_icon', url('video/feed')) : '');
@@ -393,6 +398,7 @@
 }
 
 function _site_map_faq() {
+  $output = '';
   if (module_exists('faq')) {
     $title = variable_get('faq_title', t('Frequently Asked Questions'));
     $output = faq_get_faq_list();
@@ -406,6 +412,7 @@
  * This function can be called from blocks or pages as desired.
  */
 function _site_map_taxonomys() {
+  $output = '';
   if (module_exists('taxonomy') && $vids = variable_get('site_map_show_vocabularies', array())) {
     $result = db_query('SELECT vid, name, description 
       FROM {vocabulary} WHERE vid IN (%s) ORDER BY weight ASC, name', implode(',', $vids));
