mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +00:00
Bug 1384848 - Remove dead code in XPCConvert.cpp r=mrbkap
MozReview-Commit-ID: EncsNyW5Qxx
This commit is contained in:
parent
230106d30b
commit
d48480a951
@ -1762,14 +1762,6 @@ XPCConvert::JSStringWithSize2Native(void* d, HandleValue s,
|
||||
return false;
|
||||
}
|
||||
|
||||
if (0 != count) {
|
||||
len = (count + 1) * sizeof(char16_t);
|
||||
if (!(*((void**)d) = moz_xmalloc(len)))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
// else ...
|
||||
*((const char16_t**)d) = nullptr;
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user