diff options
author | Pierre Langlois <pierre.langlois@arm.com> | 2016-03-04 18:06:38 +0000 |
---|---|---|
committer | Pierre Langlois <pierre.langlois@arm.com> | 2016-03-04 18:15:04 +0000 |
commit | 80f5f70119a92b8b9e250c41c9862c84c371a443 (patch) | |
tree | 2eecaff0bf50f69b23410f91185aa2dfd730857f | |
parent | f3412ec389f3f15f6173ec903bb50ab2df45bd39 (diff) | |
download | kdbinder-80f5f70119a92b8b9e250c41c9862c84c371a443.tar.gz |
libkdbinder: Remove an unused parameter
This commit removes an unused parameter that triggered a warning.
-rw-r--r-- | include/kdbinder/kdbus/connection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kdbinder/kdbus/connection.h b/include/kdbinder/kdbus/connection.h index d1e4da6..6f282e7 100644 --- a/include/kdbinder/kdbus/connection.h +++ b/include/kdbinder/kdbus/connection.h @@ -145,7 +145,7 @@ class Connection { : id(id), // There is no need to call munmap as closing the bus_file_ file // descriptor will take care of it. - buf_(buf, [](void *addr){}), bus_file_(bus_file, &fclose) {} + buf_(buf, [](void *){}), bus_file_(bus_file, &fclose) {} std::unique_ptr<void, void (*)(void *)> buf_; std::unique_ptr<FILE, decltype(&fclose)> bus_file_; |