diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2016-11-02 10:55:19 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2016-11-03 12:43:09 +0100 |
commit | 1db4b81d5a1e7c85ab5928c9f6a62ec9565885df (patch) | |
tree | a635a2778f9ccd4cd13e0dbc32544caafaf4b457 | |
parent | 4b4d19e3aa1da061fed35edb979e1ca2a29fb7ed (diff) | |
download | lvm2-1db4b81d5a1e7c85ab5928c9f6a62ec9565885df.tar.gz |
cleanup: drop unused attribute
In this function we pass args through so make the function
header look the same as with _default_log().
-rw-r--r-- | libdm/libdm-common.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libdm/libdm-common.c b/libdm/libdm-common.c index 5deb555a4..17f55ab46 100644 --- a/libdm/libdm-common.c +++ b/libdm/libdm-common.c @@ -137,8 +137,7 @@ static void _default_log_line(int level, __attribute__((format(printf, 5, 6))) static void _default_log_with_errno(int level, - const char *file __attribute__((unused)), - int line __attribute__((unused)), int dm_errno_or_class, + const char *file, int line, int dm_errno_or_class, const char *f, ...) { va_list ap; |