1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

In get_bc_algorithm_name, add a dummy return statement.

This code shouldn't be reached, but having it here might avoid a
compiler warning.

Per CI complaint from Andres Freund.

Discussion: http://postgr.es/m/C6A7643A-582B-47F7-A03D-01736BC0349B@anarazel.de
This commit is contained in:
Robert Haas
2022-03-23 11:37:12 -04:00
parent 7c51b7f7cc
commit 68d8f9bfb2

View File

@ -72,6 +72,7 @@ get_bc_algorithm_name(bc_algorithm algorithm)
/* no default, to provoke compiler warnings if values are added */
}
Assert(false);
return "???"; /* placate compiler */
}
/*