mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 23:35:34 +00:00
559a3f06ee
This patch does the following. - Reduces nesting and simplifies control flow by handling failure cases earlier, and makes all three functions have identical structure. - Avoids unnecessary temporary local variables, including |rv|. - Removes low-value comments, including some misleading ones (e.g. "This function will perform conversion..."). - PREF_GetCStringValue() previously did not check HasDefaultValue(), unlike the other two. It now does. - PREF_GetCStringValue() now calls SetIsVoid(true) at the start, so that aValueOut will be Voided on all failure paths. MozReview-Commit-ID: 2uCSv76Y8eu --HG-- extra : rebase_source : 9ca9148ad0a5069bdd3e08aec0038216d27ea092 |
||
---|---|---|
.. | ||
brotli | ||
fdlibm | ||
freetype2 | ||
libbz2 | ||
libjar | ||
libmar | ||
libpref | ||
pdfium | ||
woff2 | ||
xz-embedded | ||
zlib | ||
moz.build |