summaryrefslogtreecommitdiff
path: root/dbus/dbus-auth.c
diff options
context:
space:
mode:
authorChengwei Yang <chengwei.yang@intel.com>2013-11-11 17:52:26 +0800
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-01-06 15:58:11 +0000
commitb2a517040cd6f0fcc676abe833675d5473820226 (patch)
treed5cfbd5d785ebe9f3565aaf70c5750ee7c02c1e4 /dbus/dbus-auth.c
parent14d72882c9b03bb5c2f96646847b4c9e431168b1 (diff)
downloaddbus-b2a517040cd6f0fcc676abe833675d5473820226.tar.gz
_dbus_auth_return_buffer(): remove unused argument
The argument bytes_read of _dbus_auth_return_buffer() function isn't used at all, so remove it. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71477 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'dbus/dbus-auth.c')
-rw-r--r--dbus/dbus-auth.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/dbus/dbus-auth.c b/dbus/dbus-auth.c
index a0f72773..6a07665f 100644
--- a/dbus/dbus-auth.c
+++ b/dbus/dbus-auth.c
@@ -2533,12 +2533,10 @@ _dbus_auth_get_buffer (DBusAuth *auth,
*
* @param auth the auth conversation
* @param buffer the buffer being returned
- * @param bytes_read number of new bytes added
*/
void
_dbus_auth_return_buffer (DBusAuth *auth,
- DBusString *buffer,
- int bytes_read)
+ DBusString *buffer)
{
_dbus_assert (buffer == &auth->incoming);
_dbus_assert (auth->buffer_outstanding);