[Webkit-unassigned] [Bug 175675] New: -Wreturn-type warnings in CryptoKey.cpp and SubtleCrypto.cpp
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 17 09:23:11 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=175675
Bug ID: 175675
Summary: -Wreturn-type warnings in CryptoKey.cpp and
SubtleCrypto.cpp
Product: WebKit
Version: Other
Hardware: PC
OS: Linux
Status: NEW
Severity: Trivial
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mcatanzaro at igalia.com
CC: sam at webkit.org
Some new warnings:
[2743/5943] Building CXX object Source...les/WebCore.dir/crypto/CryptoKey.cpp.o
../../Source/WebCore/crypto/CryptoKey.cpp: In member function ‘WebCore::CryptoKey::AlgorithmVariant WebCore::CryptoKey::algorithm() const’:
../../Source/WebCore/crypto/CryptoKey.cpp:70:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
[2780/5943] Building CXX object Source.../WebCore.dir/crypto/SubtleCrypto.cpp.o
../../Source/WebCore/crypto/SubtleCrypto.cpp: In function ‘WebCore::CryptoKeyUsageBitmap WebCore::toCryptoKeyUsageBitmap(WebCore::CryptoKeyUsage)’:
../../Source/WebCore/crypto/SubtleCrypto.cpp:397:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../../Source/WebCore/crypto/SubtleCrypto.cpp: In function ‘std::optional<WTF::Variant<WTF::Vector<unsigned char, 0, WTF::CrashOnOverflow, 16>, WebCore::JsonWebKey> > WebCore::toKeyData(WebCore::SubtleCrypto::KeyFormat, WebCore::SubtleCrypto::KeyDataVariant&&, WTF::Ref<WebCore::DeferredPromise>&)’:
../../Source/WebCore/crypto/SubtleCrypto.cpp:479:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170817/a27a3049/attachment.html>
More information about the webkit-unassigned
mailing list