Commit 3ab3dca6 by Jonathan Wakely

vec.cc: Conform to C++STYLE.

2003-11-07  Jonathan Wakely  <redi@gcc.gnu.org>

	* libsupc++/vec.cc: Conform to C++STYLE.

From-SVN: r73350
parent 4eedccc4
2003-11-07 Jonathan Wakely <redi@gcc.gnu.org>
* libsupc++/vec.cc: Conform to C++STYLE.
2003-11-07 Carlo Wood <carlo@alinoe.com>
PR libstdc++/12736
......
......@@ -282,12 +282,10 @@ namespace __cxxabiv1
void (*destructor) (void *),
void (*dealloc) (void *))
{
char *base;
if (!array_address)
return;
base = static_cast<char *>(array_address);
char* base = static_cast<char *>(array_address);
if (padding_size)
{
......@@ -317,15 +315,12 @@ namespace __cxxabiv1
void (*destructor) (void *),
void (*dealloc) (void *, std::size_t))
{
char *base;
std::size_t size;
if (!array_address)
return;
base = static_cast <char *> (array_address);
size = 0;
char* base = static_cast <char *> (array_address);
std::size_t size = 0;
if (padding_size)
{
std::size_t element_count = reinterpret_cast<std::size_t *> (base)[-1];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment