Commit 3d6b1ddb authored by binjin's avatar binjin Committed by Commit bot

Silence a warning in generate_policy_source_unittest.cc.

For non-CrOS, compiler gives warning regarding unused functions.

BUG=NONE

Review URL: https://codereview.chromium.org/504723003

Cr-Commit-Position: refs/heads/master@{#291680}
parent 619b85aa
......@@ -20,6 +20,7 @@ namespace policy {
namespace {
#if defined(OS_CHROMEOS)
// Checks if two schemas are the same or not. Note that this function doesn't
// consider restrictions on integers and strings nor pattern properties.
bool IsSameSchema(Schema a, Schema b) {
......@@ -49,6 +50,7 @@ bool IsSameSchema(Schema a, Schema b) {
return false;
return IsSameSchema(a.GetAdditionalProperties(), b.GetAdditionalProperties());
}
#endif
} // namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment