mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 621161 - (void) annotation for TypedMarker to silence coverity warning. r=timeless
This commit is contained in:
parent
a550dfdb6a
commit
648809c52a
@ -345,7 +345,12 @@ TypedMarker(JSTracer *trc, JSFunction *thing)
|
||||
static JS_ALWAYS_INLINE void
|
||||
TypedMarker(JSTracer *trc, JSShortString *thing)
|
||||
{
|
||||
thing->asCell()->markIfUnmarked();
|
||||
/*
|
||||
* A short string cannot refer to other GC things so we don't have
|
||||
* anything to mark if the string was unmarked and ignore the
|
||||
* markIfUnmarked result.
|
||||
*/
|
||||
(void) thing->asCell()->markIfUnmarked();
|
||||
}
|
||||
|
||||
} /* namespace gc */
|
||||
|
Loading…
Reference in New Issue
Block a user