Remove unused return value from check_percona_api_version()

There is no user of this return value and furthermore the function can
only ever return true.
This commit is contained in:
Andreas Karlsson 2025-04-25 15:53:14 +02:00 committed by Andreas Karlsson
parent b7d52ab9a1
commit d602c2ec67

View File

@ -14,16 +14,13 @@
extern const PGDLLIMPORT int percona_api_version;
static inline bool
static inline void
check_percona_api_version(void)
{
if (PERCONA_API_VERSION != percona_api_version)
{
elog(FATAL, "Percona API version mismatch, the extension was built against a different PostgreSQL version!");
return false;
}
return true;
}
#endif