X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=format.c;h=8b96830291dd044399bbd7ebdcecb471674a62eb;hb=c77e8ad08e743b3922c58f40cc7b1a063d291d69;hp=e8a9a28617656700fda8352ec82bd1fb2517e144;hpb=d2ce6e60cb915dff3a0920a0b48f786435bd4ec8;p=adu.git diff --git a/format.c b/format.c index e8a9a28..8b96830 100644 --- a/format.c +++ b/format.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008 Andre Noll + * Copyright (C) 2008 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -449,9 +449,7 @@ char *format_items(struct format_info *info, union atom_value *values) align = af->sf.align; val = align_string(values[idx].string_value, fi->width, align); } else { - char unit; align = af->nf.align; - unit = af->nf.unit; val = align_unsigned_int(values[idx].num_value, fi->width, &af->nf, type); }