Resolving Compiler Warnings

There were warnings about unused parameters and unnecessary "const"
that were hiding other warnings. This change resolves those
warnings and resolves some constructor list ordering warnings
that were hidden among the other warnings.

Bug: 34784667
Change-Id: Ied78b00d3565abd66f90dbd1f4cce635dae7b957
This commit is contained in:
Aaron Vaage
2017-01-28 12:16:22 -08:00
parent edb9f00df7
commit 3a5fdd71a0
4 changed files with 13 additions and 13 deletions

View File

@@ -220,9 +220,9 @@ std::string MakeFieldNameString(const std::vector<std::string>& field_names,
// instances with no fields.
template<>
inline std::string MakeFieldNameString<Unused, Unused, Unused, Unused>(
const std::vector<std::string>& field_names,
const Unused unused1, const Unused unused2,
const Unused unused3, const Unused unused4) {
const std::vector<std::string>& /* field_names */,
const Unused /* unused1 */, const Unused /* unused2 */,
const Unused /* unused3 */, const Unused /* unused4 */) {
return "";
}