aboutsummaryrefslogtreecommitdiff
path: root/tccgen.c
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2013-09-24 15:36:04 +0200
committerThomas Preud'homme <robotux@celest.fr>2013-09-24 15:37:12 +0200
commit0f5942c6b382105075dabb6f975a313efc63a5f9 (patch)
tree51acb89cac9175307edbc61e2c54b9fba697b5fc /tccgen.c
parenta1a691a030d065bf234f8a476e3b958e43b1b7c5 (diff)
downloadtinycc-0f5942c6b382105075dabb6f975a313efc63a5f9.tar.gz
tinycc-0f5942c6b382105075dabb6f975a313efc63a5f9.tar.bz2
Avoid warnings with gcc 4.8 + default CFLAGS
Diffstat (limited to 'tccgen.c')
-rw-r--r--tccgen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tccgen.c b/tccgen.c
index 0f0aac5..d5b915b 100644
--- a/tccgen.c
+++ b/tccgen.c
@@ -800,9 +800,9 @@ ST_FUNC int gv(int rc)
#else
if ((vtop->type.t & VT_BTYPE) == VT_LLONG) {
int addr_type = VT_INT, load_size = 4, load_type = VT_INT;
+ unsigned long long ll;
#endif
int r2, original_type;
- unsigned long long ll;
original_type = vtop->type.t;
/* two register type load : expand to two words
temporarily */
@@ -3765,7 +3765,6 @@ ST_FUNC void unary(void)
case TOK_builtin_va_arg_types:
{
CType type;
- int bt;
next();
skip('(');
parse_type(&type);