summaryrefslogtreecommitdiff
path: root/src/tc-cast.c
diff options
context:
space:
mode:
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);