summaryrefslogtreecommitdiff
path: root/src/tc-cast.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-09-06 13:41:53 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-09-06 13:41:53 +0200
commit69dec572c9da30ae29d391966673c2c8cdacb742 (patch)
tree27ea3f5f5bbda9e362823a5e84d7e2c4c4797c8b /src/tc-cast.c
parentcb22888f08466e46b115bdef6c4ee39b9a2a983e (diff)
parentd45dd31e35190cf08b1e716e7c3bd1468ddd5d88 (diff)
Update upstream source from tag 'upstream/3.23'
Update to upstream version '3.23' with Debian dir 8789bc8a869c3aa0e8771cab9f5620378484106c
Diffstat (limited to 'src/tc-cast.c')
-rw-r--r--src/tc-cast.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tc-cast.c b/src/tc-cast.c
index 73b7d66..422054c 100644
--- a/src/tc-cast.c
+++ b/src/tc-cast.c
@@ -15,6 +15,8 @@
#include "internal.h"
#define UNUSED __attribute__((unused))
+static int *v_1 UNUSED = const_cast1(int *, (const int *)NULL);
+
static void c_signed(void)
{
const char *si_00 = "foo";
@@ -53,7 +55,7 @@ static void c_const2(void)
{
const int **co_02 = NULL;
int **co_03 UNUSED = const_cast2(int **, co_02);
- int *const *co_04 = const_cast2(int *const *, co_02);
+ int *const *co_04 UNUSED = const_cast2(int *const *, co_02);
const int *const *co_05 = const_cast2(const int *const *, co_02);
co_02 = const_cast2(const int **, co_05);
co_04 = const_cast2(int *const *, co_05);