bug in gtkdoc-mkdb
- From: Brian Cameron <Brian Cameron Sun COM>
- To: gtk-doc-list gnome org
- Cc: Brian Cameron Sun COM
- Subject: bug in gtkdoc-mkdb
- Date: Mon, 9 Jul 2001 12:58:34 +0100 (BST)
Gtk-doc experts:
It seems that gtkdoc-mkdb has a minor bug in the function
OutputMissingDocumentation. If all of the functions do have documentation,
then the following error gets generated:
Use of uninitialized value at /sgnome/gnome2.0/sparc-solaris/bin/gtkdoc-mkdb
line 1769.
This seems to corrispond to this line near the bottom of the
OutputMissingDocumentation function:
print UNDOCUMENTED $buffer;
It seems that this $buffer variable only gets set in the foreach
loop if certain if-tests pass.
So, $buffer should probably be initialized to "" at the begining
of the function or the "print UNDOCUMENTED $buffer" line should
be surrounded by a test to see if $buffer has a value like so:
if ($buffer)
{
print UNDOCUMENTED $buffer;
}
Brian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]