Skip to content

Commit

Permalink
Bug 1856795 - Remove redundant member init r=emilio
Browse files Browse the repository at this point in the history
Done with:
./mach static-analysis check --checks="-*, readability-redundant-member-init" --fix .

https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-member-init.html

Differential Revision: https://phabricator.services.mozilla.com/D190002

UltraBlame original commit: 94ff2d8f87dd8caf4d6555d8c140ddc5e2955eb3
  • Loading branch information
marco-c committed Oct 16, 2023
1 parent 876278f commit 8038c33
Show file tree
Hide file tree
Showing 212 changed files with 1 addition and 1,346 deletions.
4 changes: 0 additions & 4 deletions accessible/atk/ApplicationAccessibleWrap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,6 @@ ApplicationAccessibleWrap
ApplicationAccessibleWrap
(
)
:
ApplicationAccessible
(
)
{
}
ApplicationAccessibleWrap
Expand Down
4 changes: 0 additions & 4 deletions accessible/atk/RootAccessibleWrap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,6 @@ AtkObject
*
aAccessible
)
:
DummyAccessible
(
)
{
g_object_ref
(
Expand Down
6 changes: 0 additions & 6 deletions accessible/base/nsAccessibilityService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3420,12 +3420,6 @@ nsAccessibilityService
(
)
:
DocManager
(
)
FocusManager
(
)
mHTMLMarkupMap
(
ArrayLength
Expand Down
6 changes: 0 additions & 6 deletions accessible/generic/LocalAccessible.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -806,9 +806,6 @@ DocAccessible
aDoc
)
:
Accessible
(
)
mContent
(
aContent
Expand All @@ -826,9 +823,6 @@ mIndexInParent
-
1
)
mBounds
(
)
mFirstLineStart
(
-
Expand Down
3 changes: 0 additions & 3 deletions accessible/ipc/RemoteAccessible.h
Original file line number Diff line number Diff line change
Expand Up @@ -2549,9 +2549,6 @@ DocAccessibleParent
aThisAsDoc
)
:
Accessible
(
)
mParent
(
kNoParent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,6 @@ DeserializedStackFrame
MockDeserializedStackFrame
(
)
:
DeserializedStackFrame
(
)
{
}
}
Expand Down
3 changes: 0 additions & 3 deletions devtools/shared/heapsnapshot/tests/gtest/DevTools.h
Original file line number Diff line number Diff line change
Expand Up @@ -648,9 +648,6 @@ FakeNode
(
)
:
edges
(
)
compartment
(
nullptr
Expand Down
3 changes: 0 additions & 3 deletions docshell/base/nsDocShellLoadState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1609,9 +1609,6 @@ mLoadType
(
LOAD_NORMAL
)
mTarget
(
)
mSrcdocData
(
VoidString
Expand Down
3 changes: 0 additions & 3 deletions dom/animation/Animation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14575,9 +14575,6 @@ Animation
aAnimation
)
:
MicroTaskRunnable
(
)
mAnimation
(
aAnimation
Expand Down
6 changes: 0 additions & 6 deletions dom/base/FragmentOrElement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3770,12 +3770,6 @@ nsDOMSlots
(
)
:
nsIContent
:
:
nsContentSlots
(
)
mDataset
(
nullptr
Expand Down
3 changes: 0 additions & 3 deletions dom/base/ImageEncoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -699,9 +699,6 @@ mImgSize
(
0
)
mType
(
)
mImgData
(
nullptr
Expand Down
3 changes: 0 additions & 3 deletions dom/base/InProcessBrowserChildMessageManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -492,9 +492,6 @@ InProcessBrowserChildMessageManager
aBrowserChild
)
:
nsSameProcessAsyncMessageBase
(
)
mBrowserChild
(
aBrowserChild
Expand Down
3 changes: 0 additions & 3 deletions dom/base/nsFrameLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19556,9 +19556,6 @@ nsFrameLoader
aFrameLoader
)
:
nsSameProcessAsyncMessageBase
(
)
mozilla
:
:
Expand Down
7 changes: 0 additions & 7 deletions dom/base/nsFrameMessageManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8787,9 +8787,6 @@ nsAsyncMessageToSameProcessChild
(
)
:
nsSameProcessAsyncMessageBase
(
)
mozilla
:
:
Expand Down Expand Up @@ -9227,10 +9224,6 @@ public
nsAsyncMessageToSameProcessParent
(
)
:
nsSameProcessAsyncMessageBase
(
)
{
}
nsresult
Expand Down
4 changes: 0 additions & 4 deletions dom/base/nsGlobalWindowOuter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9798,10 +9798,6 @@ constexpr
nsChromeOuterWindowProxy
(
)
:
nsOuterWindowProxy
(
)
{
}
const
Expand Down
6 changes: 0 additions & 6 deletions dom/base/nsIContent.h
Original file line number Diff line number Diff line change
Expand Up @@ -4705,12 +4705,6 @@ nsContentSlots
(
)
:
nsINode
:
:
nsSlots
(
)
mExtendedSlots
(
0
Expand Down
3 changes: 0 additions & 3 deletions dom/base/nsImageLoadingContent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2214,9 +2214,6 @@ uint32_t
aRequestGeneration
)
:
MicroTaskRunnable
(
)
mOwner
(
aOwner
Expand Down
6 changes: 0 additions & 6 deletions dom/base/nsWindowSizes.h
Original file line number Diff line number Diff line change
Expand Up @@ -1030,12 +1030,6 @@ mDOMEventListenersCount
(
0
)
mArenaSizes
(
)
mStyleSizes
(
)
mState
(
aState
Expand Down
24 changes: 0 additions & 24 deletions dom/bindings/nsScriptError.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,18 +212,6 @@ nsScriptErrorBase
(
)
:
mMessage
(
)
mMessageName
(
)
mSourceName
(
)
mCssSelectors
(
)
mSourceId
(
0
Expand All @@ -232,9 +220,6 @@ mLineNumber
(
0
)
mSourceLine
(
)
mColumnNumber
(
0
Expand All @@ -243,9 +228,6 @@ mFlags
(
0
)
mCategory
(
)
mOuterWindowID
(
0
Expand Down Expand Up @@ -2396,12 +2378,6 @@ nsScriptErrorNote
(
)
:
mMessage
(
)
mSourceName
(
)
mSourceId
(
0
Expand Down
3 changes: 0 additions & 3 deletions dom/canvas/CanvasPattern.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,6 @@ mPrincipal
(
principalForSecurityCheck
)
mTransform
(
)
mForceWriteOnly
(
forceWriteOnly
Expand Down
3 changes: 0 additions & 3 deletions dom/debugger/DebuggerNotificationManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,6 @@ mDebuggeeGlobal
(
aDebuggeeGlobal
)
mNotificationObservers
(
)
{
}
bool
Expand Down
3 changes: 0 additions & 3 deletions dom/debugger/DebuggerNotificationObserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,6 @@ nsIGlobalObject
aOwnerGlobal
)
:
mEventListenerCallbacks
(
)
mOwnerGlobal
(
aOwnerGlobal
Expand Down
3 changes: 0 additions & 3 deletions dom/events/EventListenerManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -881,9 +881,6 @@ EventTarget
aTarget
)
:
EventListenerManagerBase
(
)
mTarget
(
aTarget
Expand Down
3 changes: 0 additions & 3 deletions dom/fs/api/FileSystemWritableFileStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1297,9 +1297,6 @@ mTaskQueue
(
aTaskQueue
)
mWorkerRef
(
)
mStreamParams
(
std
Expand Down
3 changes: 0 additions & 3 deletions dom/fs/child/FileSystemDirectoryIteratorFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,9 +592,6 @@ entryId
(
)
)
mData
(
)
mWithinPageEnd
(
0u
Expand Down
3 changes: 0 additions & 3 deletions dom/fs/test/gtest/FileSystemMocks.h
Original file line number Diff line number Diff line change
Expand Up @@ -807,9 +807,6 @@ bool
false
)
)
mTimer
(
)
mOnSuccess
(
)
Expand Down
4 changes: 0 additions & 4 deletions dom/html/ConstraintValidation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -448,10 +448,6 @@ ConstraintValidation
ConstraintValidation
(
)
:
nsIConstraintValidation
(
)
{
}
void
Expand Down
3 changes: 0 additions & 3 deletions dom/html/HTMLImageElement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -698,9 +698,6 @@ bool
aUseUrgentStartForChannel
)
:
MicroTaskRunnable
(
)
mElement
(
aElement
Expand Down
3 changes: 0 additions & 3 deletions dom/html/ImageDocument.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -871,9 +871,6 @@ ImageDocument
(
)
:
MediaDocument
(
)
mVisibleWidth
(
0
Expand Down
3 changes: 0 additions & 3 deletions dom/html/MediaDocument.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -611,9 +611,6 @@ MediaDocument
(
)
:
nsHTMLDocument
(
)
mDidInitialDocumentSetup
(
false
Expand Down
3 changes: 0 additions & 3 deletions dom/html/nsGenericHTMLFrameElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,6 @@ move
aNodeInfo
)
)
nsBrowserElement
(
)
mSrcLoadHappened
(
false
Expand Down
3 changes: 0 additions & 3 deletions dom/indexedDB/ActorsChild.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1235,9 +1235,6 @@ mTransaction
(
aTransaction
)
mPreviousTransaction
(
)
mThreadLocal
(
nullptr
Expand Down
Loading

0 comments on commit 8038c33

Please sign in to comment.