[PATCH 0/3] Generate scanf_fmts more simply
- From
Michael Haggerty <mhagger@alum.mit.edu>
- Date
- Jan 8, 2014, 14:43 UTC
- Message-ID
- <1389192220-13913-1-git-send-email-mhagger@alum.mit.edu>
This is just a fun little thing that I noticed while poking around the code: the function gen_scanf_fmt() can be replaced with a simple call to snprintf().
Michael Haggerty (3): shorten_unambiguous_ref(): introduce a new local variable gen_scanf_fmt(): delete function and use snprintf() instead shorten_unambiguous_ref(): tighten up pointer arithmetic
refs.c | 47 +++++++++++++++-------------------------------- 1 file changed, 15 insertions(+), 32 deletions(-)
-- 1.8.5.2