Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 2021 02:04:52 +0000 (UTC)
From:      Kevin Bowling <kbowling@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561296 - head/databases/timescaledb/files
Message-ID:  <202101120204.10C24qli077555@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kbowling
Date: Tue Jan 12 02:04:52 2021
New Revision: 561296
URL: https://svnweb.freebsd.org/changeset/ports/561296

Log:
  databases/timescaledb:  Fix switch fallthrough warning on fbsd 12
  
  PR:		252029
  Submitted by:	otis@
  Reported by:	otis@
  Sponsored by:	BBOX.io

Added:
  head/databases/timescaledb/files/patch-tsl_src_reorder.c   (contents, props changed)

Added: head/databases/timescaledb/files/patch-tsl_src_reorder.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/timescaledb/files/patch-tsl_src_reorder.c	Tue Jan 12 02:04:52 2021	(r561296)
@@ -0,0 +1,10 @@
+--- tsl/src/reorder.c.orig	2021-01-12 02:00:38 UTC
++++ tsl/src/reorder.c
+@@ -794,6 +794,7 @@ copy_heap_data(Oid OIDNewHeap, Oid OIDOldHeap, Oid OID
+ 			case HEAPTUPLE_RECENTLY_DEAD:
+ 				tups_recently_dead += 1;
+ 				/* fall through */
++				__attribute__((fallthrough));
+ 			case HEAPTUPLE_LIVE:
+ 				/* Live or recently dead, must copy it */
+ 				isdead = false;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101120204.10C24qli077555>