Skip to content

Misc compiler warnings, April 2022 edition #282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

mcatanzaro
Copy link
Contributor

@mcatanzaro mcatanzaro commented Apr 13, 2022

832b6c0

Misc compiler warnings, April 2022 edition
https://bugs.webkit.org/show_bug.cgi?id=239290

Patch by Michael Catanzaro <mcatanzaro@gnome.org > on 2022-04-13
Reviewed by Adrian Perez de Castro.

Fix the usual spam of -Wreturn-type warnings.

Bonus warnings: unused variable, unknown pragmas, and redundant move.

* Source/JavaScriptCore/bytecode/PropertyCondition.cpp:
(JSC::PropertyCondition::isStillValidAssumingImpurePropertyWatchpoint const):
(JSC::watchabilityToConcurrency):
(JSC::PropertyCondition::validityRequiresImpurePropertyWatchpoint const):
* Source/JavaScriptCore/runtime/JSObject.h:
(JSC::JSObject::getDirect const):
* Source/JavaScriptCore/runtime/Structure.h:
(JSC::Structure::get):
* Source/WebKit/NetworkProcess/storage/OriginStorageManager.cpp:
(WebKit::OriginStorageManager::StorageBucket::resolvedPath):
* Source/WebCore/dom/ScriptExecutionContext.cpp:
(WebCore::ScriptExecutionContext::canAccessResource const):
* Source/WebCore/page/DebugPageOverlays.cpp:
* Source/WebCore/page/InteractionRegion.cpp:
(WebCore::regionForElement):
* Source/WebCore/platform/graphics/GraphicsContextState.cpp:
(WebCore::stateChangeName):
* Source/WebCore/rendering/style/RenderStyle.cpp:
(WebCore::getPathFromPathOperation):
* Source/WebCore/style/ContainerQueryEvaluator.cpp:
(WebCore::Style::ContainerQueryEvaluator::evaluateSizeFeature const):
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::categoryAtMostRecentPlayback const):

Canonical link: https://commits.webkit.org/249613@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@292840 268f45cc-cd09-0410-ab3c-d52691b4dbfc

@mcatanzaro mcatanzaro requested a review from aperezdc April 13, 2022 19:21
@Constellation
Copy link
Member

Looks like issue's content is different from the other PRs.
Is this PR created via git webkit pr?

@mcatanzaro
Copy link
Contributor Author

Is this PR created via git webkit pr?

Nope, see https://bugs.webkit.org/show_bug.cgi?id=239296

@mcatanzaro mcatanzaro added the merge-queue Applied to send a pull request to merge-queue label Apr 13, 2022
@webkit-early-warning-system webkit-early-warning-system force-pushed the eng/Misc-compiler-warnings-April-2022-edition branch from 88d0d19 to 832b6c0 Compare April 13, 2022 22:56
@webkit-early-warning-system webkit-early-warning-system merged commit 832b6c0 into WebKit:main Apr 13, 2022
@webkit-early-warning-system
Copy link
Collaborator

Committed r292840 (249613@main): https://commits.webkit.org/249613@main

Reviewed commits have been landed. Closing PR #282 and removing active labels.

@webkit-early-warning-system webkit-early-warning-system removed the merge-queue Applied to send a pull request to merge-queue label Apr 13, 2022
@mcatanzaro mcatanzaro deleted the eng/Misc-compiler-warnings-April-2022-edition branch April 13, 2022 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants