Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+1
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)