mirror of
https://github.com/postgres/postgres.git
synced 2026-06-09 00:32:10 -04: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:
parent
7c51b7f7cc
commit
68d8f9bfb2
1 changed files with 1 additions and 0 deletions
|
|
@ -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 */
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue