xbps_warn_printf: fix previous and remove unused var.

This commit is contained in:
Juan RP 2011-01-30 18:32:15 +01:00
parent 42eb834e8d
commit 5c7eaf2f92

View File

@ -106,7 +106,6 @@ xbps_error_printf(const char *fmt, ...)
void
xbps_warn_printf(const char *fmt, ...)
{
int flags = xbps_get_flags();
va_list ap;
va_start(ap, fmt);