List:Commits« Previous MessageNext Message »
From:mcbrown Date:October 25 2007 12:07pm
Subject:svn commit - mysqldoc@docsrva: r8314 - trunk/tools
View as plain text  
Author: mcbrown
Date: 2007-10-25 12:07:00 +0200 (Thu, 25 Oct 2007)
New Revision: 8314

Log:
Fixing the warning on potentially blank entries - should only be raised if the link type
is xref



Modified:
   trunk/tools/idremap.pl


Modified: trunk/tools/idremap.pl
===================================================================
--- trunk/tools/idremap.pl	2007-10-25 09:56:15 UTC (rev 8313)
+++ trunk/tools/idremap.pl	2007-10-25 10:07:00 UTC (rev 8314)
Changed blocks: 1, Lines Added: 2, Lines Deleted: 1; 589 bytes

@@ -117,7 +117,8 @@
                 }
             }
 
-            if (length($idmap->{byid}->{$idref}->{title}) == 0)
+            if ((length($idmap->{byid}->{$idref}->{title}) == 0) &&
+                $type eq 'xref')
             {
                 print STDERR "$0: WARNING: Link text would be blank (???) because title
text for $idref is not defined\n";
             }


Thread
svn commit - mysqldoc@docsrva: r8314 - trunk/toolsmcbrown25 Oct