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:52 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-09-06 13:41:52 +0200
commitd45dd31e35190cf08b1e716e7c3bd1468ddd5d88 (patch)
tree362ed3bf52fa67d15e35fba042aafe4e2a938065 /src/tc-cast.c
parentbd82d030011cd8b9655e5ded6b6df9343b42a6bd (diff)
New upstream version 3.23upstream/3.23
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);