aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acidtypes
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2012-10-21 12:04:56 -0400
committerRuss Cox <rsc@swtch.com>2012-10-21 12:04:56 -0400
commitc5bfba483f4002c539cbeb4087827524dba8d0f8 (patch)
treea054fb1030f97f36308240d974057449acebcac3 /src/cmd/acidtypes
parentb0ae8a46a0e40773d306906dd0fd9b33832e7086 (diff)
downloadplan9port-c5bfba483f4002c539cbeb4087827524dba8d0f8.tar.gz
plan9port-c5bfba483f4002c539cbeb4087827524dba8d0f8.tar.bz2
plan9port-c5bfba483f4002c539cbeb4087827524dba8d0f8.zip
silence more warnings
R=rsc http://codereview.appspot.com/6744056
Diffstat (limited to 'src/cmd/acidtypes')
-rw-r--r--src/cmd/acidtypes/stabs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/acidtypes/stabs.c b/src/cmd/acidtypes/stabs.c
index f86c99e3..5ce0d461 100644
--- a/src/cmd/acidtypes/stabs.c
+++ b/src/cmd/acidtypes/stabs.c
@@ -337,6 +337,7 @@ parsedefn(char *p, Type *t, char **pp)
oops();
sign = (*p == 's');
p++;
+ ischar = 0;
if(*p == 'c'){
ischar = 1;
p++;
@@ -353,6 +354,8 @@ parsedefn(char *p, Type *t, char **pp)
t->printfmt = 'd';
else
t->printfmt = 'x';
+ USED(bits);
+ USED(ischar);
break;
case 'R': /* fp type */
n = parseint(&p);