diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-09-07 14:51:19 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-09-07 14:51:19 +0200 |
commit | 91a64d5ccfd724eda5826b6f02704600a956e12e (patch) | |
tree | 468d2d95b6e2481883a7e8d46c19ce7f31d07017 /src/tc-cast.c | |
parent | cb22888f08466e46b115bdef6c4ee39b9a2a983e (diff) | |
parent | 7dfa6d0b6b18d54050671ed5430b9421a165481c (diff) |
Merge branch 'release/debian/3.23-1'debian/3.23-1
Diffstat (limited to 'src/tc-cast.c')
-rw-r--r-- | src/tc-cast.c | 4 |
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); |