Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6f0e190

Browse files
committed
Silence -Wimplicit-fallthrough in sysv_shmem.c.
Commit2f932f7 added code that elicitsa warning on buildfarm member flaviventris. Back-patch to 9.4, likethat commit.Reported by Andres Freund.Discussion:https://postgr.es/m/20190404020057.galelv7by75ekqrh@alap3.anarazel.de
1 parent16ee6ea commit6f0e190

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/backend/port/sysv_shmem.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,7 @@ PGSharedMemoryCreate(Size size, int port,
672672
(unsigned long)shmid),
673673
errhint("Terminate any old server processes associated with data directory \"%s\".",
674674
DataDir)));
675+
break;
675676
caseSHMSTATE_ENOENT:
676677

677678
/*
@@ -703,6 +704,7 @@ PGSharedMemoryCreate(Size size, int port,
703704
dsm_cleanup_using_control_segment(oldhdr->dsm_control);
704705
if (shmctl(shmid,IPC_RMID,NULL)<0)
705706
NextShmemSegID++;
707+
break;
706708
}
707709

708710
if (oldhdr&&shmdt(oldhdr)<0)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp