Skip to content

Commit 68d8f9b

Browse files
committed
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
1 parent 7c51b7f commit 68d8f9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/common/backup_compression.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ get_bc_algorithm_name(bc_algorithm algorithm)
7272
/* no default, to provoke compiler warnings if values are added */
7373
}
7474
Assert(false);
75+
return "???"; /* placate compiler */
7576
}
7677

7778
/*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy