mirror of
git://sourceware.org/git/libabigail.git
synced 2025-01-31 05:41:38 +00:00
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:
parent
fc805d43b5
commit
61f499f5a5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user