Content-Length: 252930 | pFad | http://github.com/postgrespro/postgres/commit/68d8f9bfb2f467c306d81b4f1cee1a5a0e5ede37

4C In get_bc_algorithm_name, add a dummy return statement. · postgrespro/postgres@68d8f9b · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/68d8f9bfb2f467c306d81b4f1cee1a5a0e5ede37

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy