aboutsummaryrefslogtreecommitdiff
path: root/i386-gen.c
diff options
context:
space:
mode:
authorgrischka <grischka>2009-12-19 22:10:13 +0100
committergrischka <grischka>2009-12-19 22:16:22 +0100
commit41e112360f77c53a962b7b503ecaf9e2e39643e5 (patch)
treecf9115a55be5b6e1a70883d1d3b11e4210437ad4 /i386-gen.c
parent3020a4765d6d83b8d98a87dd78b822cc8b313652 (diff)
downloadtinycc-41e112360f77c53a962b7b503ecaf9e2e39643e5.tar.gz
tinycc-41e112360f77c53a962b7b503ecaf9e2e39643e5.tar.bz2
fix uninitialized warnings with 'type.ref'
Diffstat (limited to 'i386-gen.c')
-rw-r--r--i386-gen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/i386-gen.c b/i386-gen.c
index 0bc41aa..bd53303 100644
--- a/i386-gen.c
+++ b/i386-gen.c
@@ -938,6 +938,7 @@ void gen_cvt_ftoi(int t)
CType ushort_type;
ushort_type.t = VT_SHORT | VT_UNSIGNED;
+ ushort_type.ref = 0;
gv(RC_FLOAT);
if (t != VT_INT)