mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 10:40:12 +00:00
Bug 1245106 - necko compilation warnings r=mcmanus
--HG-- extra : rebase_source : 6f4adf253af73a58d3ff5561e33e34eed94e456b
This commit is contained in:
parent
38d879e09d
commit
1d1fd489f5
@ -75,7 +75,7 @@ struct nsProtocolInfo {
|
||||
static nsresult
|
||||
GetProxyURI(nsIChannel *channel, nsIURI **aOut)
|
||||
{
|
||||
nsresult rv;
|
||||
nsresult rv = NS_OK;
|
||||
nsCOMPtr<nsIURI> proxyURI;
|
||||
nsCOMPtr<nsIHttpChannelInternal> httpChannel(do_QueryInterface(channel));
|
||||
if (httpChannel) {
|
||||
|
@ -506,7 +506,7 @@ static void ucs4toUtf16(const uint32_t *in, nsAString& out)
|
||||
static nsresult punycode(const nsAString& in, nsACString& out)
|
||||
{
|
||||
uint32_t ucs4Buf[kMaxDNSNodeLen + 1];
|
||||
uint32_t ucs4Len;
|
||||
uint32_t ucs4Len = 0u;
|
||||
nsresult rv = utf16ToUcs4(in, ucs4Buf, kMaxDNSNodeLen, &ucs4Len);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
|
@ -1279,8 +1279,8 @@ Http2Compressor::ProcessHeader(const nvPair inputPair, bool noLocalIndex,
|
||||
{
|
||||
uint32_t newSize = inputPair.Size();
|
||||
uint32_t headerTableSize = mHeaderTable.Length();
|
||||
uint32_t matchedIndex;
|
||||
uint32_t nameReference = 0;
|
||||
uint32_t matchedIndex = 0u;
|
||||
uint32_t nameReference = 0u;
|
||||
bool match = false;
|
||||
|
||||
LOG(("Http2Compressor::ProcessHeader %s %s", inputPair.mName.get(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user