Fix clang warnings.

Approved by:	philip (mentor)
This commit is contained in:
Ben Laurie 2011-05-18 21:00:27 +00:00
parent 198a158f99
commit 7f49567fa4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222082

View file

@ -787,7 +787,7 @@ calc_wider_mode (void)
#define tagged_printf(FMT, ARG, TAG) do { \
int count_; \
printf (" " FMT ",%n", ARG, &count_); \
count_ = printf (" " FMT ",", ARG); \
printf ("%*s/* %s */\n", 27 - count_, "", TAG); \
} while (0)
@ -822,7 +822,7 @@ enum machine_mode\n{");
for (m = modes[c]; m; m = m->next)
{
int count_;
printf (" %smode,%n", m->name, &count_);
count_ = printf (" %smode,", m->name);
printf ("%*s/* %s:%d */\n", 27 - count_, "",
trim_filename (m->file), m->line);
}