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:
@@ -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 "";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user