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

Commit7dbc075

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 parent1106438 commit7dbc075

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
@@ -676,6 +676,7 @@ PGSharedMemoryCreate(Size size, int port,
676676
(unsigned long)shmid),
677677
errhint("Terminate any old server processes associated with data directory \"%s\".",
678678
DataDir)));
679+
break;
679680
caseSHMSTATE_ENOENT:
680681

681682
/*
@@ -707,6 +708,7 @@ PGSharedMemoryCreate(Size size, int port,
707708
dsm_cleanup_using_control_segment(oldhdr->dsm_control);
708709
if (shmctl(shmid,IPC_RMID,NULL)<0)
709710
NextShmemSegID++;
711+
break;
710712
}
711713

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp