summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wasm/qwasmintegration.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2022-03-04 11:26:10 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2022-03-31 16:42:47 +0100
commitaa4a2bb1e1775a61514f6c1906a92970728e4c62 (patch)
treee9f9d664cd8d417f99e4f37ad44bf640667a0421 /src/plugins/platforms/wasm/qwasmintegration.cpp
parent3febcd6286a3cd22db4f294e7f31a94c07c51fb0 (diff)
MS QNativeFilePermissions: fix unused member and capture warnings
Two members are only used in code that's conditioned on pseudo-feature fslibs, which was defined in qfilesystemengine_win.cpp; move that definition to qfiledevice_p.h so that the members's existence can be conditioned on the same #if-ery as their use. The bootstrap build was broken by the warning. In the code that uses them, a lambda captured this but didn't use it, causing the non-bootstrap build to get a warning (hence error) and fail. So remove the unnecessary capture. Also suppressed warnings on an unused function. This amends commit 174af05400f6344a11f4aa2228244c954cbbca97 Pick-to: 6.3 Task-number: QTBUG-79750 Change-Id: Ib29f3200b7736bc07df68aeec4fc6f568c8f4ddb Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmintegration.cpp')
0 files changed, 0 insertions, 0 deletions