Remove names of unused variables in callback()

The compiler complains that in function callback(), parameters st and
flag are unused.  In that case, C++ allows the name of the parameter
to be omitted; that makes the compiler complaint go away.

	* tools/abipkgdiff.cc (callback): Remove the name of parameters st
	and flag.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2015-07-03 15:47:40 +02:00
parent fc805d43b5
commit 61f499f5a5

View File

@ -245,7 +245,7 @@ extract_pkg(package_sptr pkg)
}
static int
callback(const char *fpath, const struct stat *st, int flag)
callback(const char *fpath, const struct stat *, int /*flag*/)
{
struct stat s;
lstat(fpath, &s);