Handle the unlikely case of reaching the end of an exhaustive enum in
a test to appease GCC.
`error: control reaches end of non-void function [-Werror=return-type]`
PiperOrigin-RevId: 715506532
diff --git a/quiche/http2/adapter/adapter_impl_comparison_test.cc b/quiche/http2/adapter/adapter_impl_comparison_test.cc
index df0d21b..bc56a80 100644
--- a/quiche/http2/adapter/adapter_impl_comparison_test.cc
+++ b/quiche/http2/adapter/adapter_impl_comparison_test.cc
@@ -44,6 +44,7 @@
options.perspective = p;
return OgHttp2Adapter::Create(visitor, options);
}
+ return nullptr; // Unreachable unless enum is corrupted.
}
};