summaryrefslogtreecommitdiff
path: root/poptint.c
diff options
context:
space:
mode:
authorjbj <jbj>2008-03-10 08:13:09 +0000
committerjbj <jbj>2008-03-10 08:13:09 +0000
commit01a321cf28210e1678ded8a30c0489feb556dbbe (patch)
tree25428ec15fb64b8cc7374268f064dc675611285e /poptint.c
parent0b205ccce0e93f55126a38dd286f2097d389df25 (diff)
downloadlibpopt-01a321cf28210e1678ded8a30c0489feb556dbbe.tar.gz
- jbj: study the mess with splint. Sigh, splint is so easily confused ...
- jbj: rewrite findProgramPath & move to popt.c. Nuke the findme.{c,h} toys. - jbj: use stpcpy several more places (Wayne Davison<wayned@samba.org>).
Diffstat (limited to 'poptint.c')
-rw-r--r--poptint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/poptint.c b/poptint.c
index 264ec3b..6c135ad 100644
--- a/poptint.c
+++ b/poptint.c
@@ -157,7 +157,7 @@ POPT_fprintf (FILE * stream, const char * format, ...)
int rc;
va_list ap;
-#if defined(HAVE_VASPRINTF)
+#if defined(HAVE_VASPRINTF) && !defined(__LCLINT__)
va_start(ap, format);
if ((rc = vasprintf(&b, format, ap)) < 0)
b = NULL;