* vec.c (vec_assert_fail): Remove duplicate 'function'.

From-SVN: r84282
This commit is contained in:
Nathan Sidwell 2004-07-08 09:45:19 +00:00 committed by Nathan Sidwell
parent 7de5bcccab
commit 70ce47b582
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,9 @@
2004-07-08 Nathan Sidwell <nathan@codesourcery.com>
* vec.c (vec_assert_fail): Remove duplicate 'function'.
* vec.c (vec_p_reserve, vec_o_reserve): Allocation is signed.
* vec.h (VEC_alloc, VEC_embedded_size, VEC_embedded_init):
Allocation is signed.
(VEC_reserve): Return flag, allocation is signed.

View File

@ -85,7 +85,6 @@ vec_assert_fail (const char *op, const char *struct_name,
const char *file, size_t line, const char *function)
{
internal_error ("vector %s %s domain error, in %s at %s:%u",
struct_name, op, function, function,
trim_filename (file), line);
struct_name, op, function, trim_filename (file), line);
}
#endif