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