printf_size broken?

Andreas Jaeger aj@suse.de
Thu Jan 22 09:53:00 GMT 2004


I get a warning from GCC that width is used uninitialized.  Looking at
the code, this seems to be indeed the case:

      int width = info->prec > width ? info->prec : width;

What is the intend of the code and how should it look correctly?

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20040122/42cd3cc1/attachment.sig>


More information about the Libc-alpha mailing list