]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/lt_error.c (error_strings): Remove parentheses around
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 29 Dec 2005 13:52:54 +0000 (13:52 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 29 Dec 2005 13:52:54 +0000 (13:52 +0000)
string literal initializers, uncovered by `tcc'.
Reported by Edward Chernenko <edwardspec@yahoo.com>.

ChangeLog
libltdl/lt_error.c

index c6736484de163f1f8d22bbae742fb18a5826c22e..159555412a24e34d1cb1a6f5b31852e68cfd08cb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-12-29  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+       * libltdl/lt_error.c (error_strings): Remove parentheses around
+       string literal initializers, uncovered by `tcc'.
+       Reported by Edward Chernenko <edwardspec@yahoo.com>.
+
 2005-12-21  Gary V. Vaughan  <gary@gnu.org>
 
        * .cvsignore, libltdl/.cvsignore, tests/.cvsignore: Ignore
index 8c8be7ce0b5b6908ebb631554f63b435294d3768..b024aeada25f20267e7f30d18f6e1889bdf10762 100644 (file)
@@ -32,7 +32,7 @@ Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 static const char      *last_error     = 0;
 static const char      error_strings[LT_ERROR_MAX][LT_ERROR_LEN_MAX + 1] =
   {
-#define LT_ERROR(name, diagnostic)     (diagnostic),
+#define LT_ERROR(name, diagnostic)     diagnostic,
     lt_dlerror_table
 #undef LT_ERROR
   };