summaryrefslogtreecommitdiff
path: root/src/xine-utils/xine_check.c
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2006-10-16 22:18:24 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2006-10-16 22:18:24 +0000
commitfd821f5c182e0c6f2da2f299b7d1341affd0914f (patch)
tree4d6765e0e45102c4a69bf114f2e6ebe38297ea8d /src/xine-utils/xine_check.c
parenteebe97a3fe85f26ec95ad237a327ed02a2a2bfb2 (diff)
downloadxine-lib-fd821f5c182e0c6f2da2f299b7d1341affd0914f.tar.gz
xine-lib-fd821f5c182e0c6f2da2f299b7d1341affd0914f.tar.bz2
Fixed several warnings (but warnings due to APIs not solved).
CVS patchset: 8344 CVS date: 2006/10/16 22:18:24
Diffstat (limited to 'src/xine-utils/xine_check.c')
-rw-r--r--src/xine-utils/xine_check.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xine-utils/xine_check.c b/src/xine-utils/xine_check.c
index 7bbf645ff..43e046a45 100644
--- a/src/xine-utils/xine_check.c
+++ b/src/xine-utils/xine_check.c
@@ -81,7 +81,6 @@ set_hc_result(xine_health_check_t* hc, int state, const char *format, ...)
va_list args;
char *buf = NULL;
- int n, size;
if (!hc) {
printf ("xine_check: GASP, hc is NULL\n");
@@ -94,7 +93,7 @@ set_hc_result(xine_health_check_t* hc, int state, const char *format, ...)
}
va_start(args, format);
- asprintf (&buf, format, args);
+ vasprintf (&buf, format, args);
va_end(args);
if (!buf)