Closed Bug 789643 Opened 14 years ago Closed 14 years ago

Fix `GetCOMPtrCount() defined but not used` warning in nsTraceRefcntImpl.cpp

Categories

(Core :: XPCOM, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla18
Tracking Status
firefox17 --- wontfix
firefox18 --- fixed

People

(Reporter: cpeterson, Assigned: cpeterson)

Details

Attachments

(1 file)

GetCOMPtrCount() is called from NS_LogCOMPtrAddRef() and NS_LogCOMPtrRelease(), but only #if defined(NS_IMPL_REFCNT_LOGGING) && defined(HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR). My patch wraps the GetCOMPtrCount() function definition in #if defined(NS_IMPL_REFCNT_LOGGING) && defined(HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR), too.
Attachment #659426 - Flags: review?(benjamin)
Attachment #659426 - Flags: review?(benjamin) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: