mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
This MUST be fixed in some other way. This is a temporary fix for the HP build bustage that Warren okayed as this code isn't in use elsewhere. This is just commenting out the bad code, not fixing it.
This commit is contained in:
parent
065386bc5d
commit
ff0c2c46f4
@ -56,7 +56,10 @@ nsVariant::~nsVariant()
|
||||
{
|
||||
switch (mType) {
|
||||
case nsVariantType_voidPtr:
|
||||
delete (void *)mValue;
|
||||
/* XXX: Per comments from Warren, commenting this out.
|
||||
This code isn't done (or used), and is a violation
|
||||
of ANSI C++ to boot. -- Bruce */
|
||||
/* delete (void *)mValue; */
|
||||
break;
|
||||
case nsVariantType_charPtr:
|
||||
nsCRT::free(mValue.mUnion._charPtr);
|
||||
|
@ -56,7 +56,10 @@ nsVariant::~nsVariant()
|
||||
{
|
||||
switch (mType) {
|
||||
case nsVariantType_voidPtr:
|
||||
delete (void *)mValue;
|
||||
/* XXX: Per comments from Warren, commenting this out.
|
||||
This code isn't done (or used), and is a violation
|
||||
of ANSI C++ to boot. -- Bruce */
|
||||
/* delete (void *)mValue; */
|
||||
break;
|
||||
case nsVariantType_charPtr:
|
||||
nsCRT::free(mValue.mUnion._charPtr);
|
||||
|
Loading…
Reference in New Issue
Block a user