On Fri, Jul 08, 2016 at 09:41:16AM +0000, Jesuiter, Henry (ALC NetworX GmbH) wrote: > diff -rwbBu a/util.c b/util.c > --- a/util.c 2015-09-19 16:25:11.000000000 +0200 > +++ b/util.c 2016-07-08 11:33:09.843328724 +0200 > @@ -448,7 +448,8 @@ > void string_appendf(char **s, const char *format, ...) > { > va_list ap; > - size_t len1, len2; > + size_t len1; > + int len2; > char *s2; > > len1 = strlen(*s);
This looks good to me. I've actually had an item in my todo list to fix this as it was reported by a static analyzer. Thanks :). -- Miroslav Lichvar ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel