Return-Path: Message-ID: Date: Mon, 22 Oct 2007 16:21:23 -0300 From: thiagoss To: "BlueZ development" MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_19306_5043671.1193080883998" Subject: [Bluez-devel] [PATCH] Removing unused variables from gsta2dpsink Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net ------=_Part_19306_5043671.1193080883998 Content-Type: multipart/alternative; boundary="----=_Part_19307_27609427.1193080883998" ------=_Part_19307_27609427.1193080883998 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Patch removing unused variables from gsta2dpsink. Those were needed on alsa plugin for sbc encoding, but they aren't in gsta2dpsink, because it is not responsible for the encoding. []s Thiago Sousa Santos ------=_Part_19307_27609427.1193080883998 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Patch removing unused variables from gsta2dpsink. Those were needed on alsa plugin for sbc encoding, but they aren't in gsta2dpsink, because it is not responsible for the encoding.

[]s

Thiago Sousa Santos
------=_Part_19307_27609427.1193080883998-- ------=_Part_19306_5043671.1193080883998 Content-Type: text/x-patch; name=gsta2dpsink_unusedvariables.patch Content-Transfer-Encoding: base64 X-Attachment-Id: f_f83d6cra Content-Disposition: attachment; filename=gsta2dpsink_unusedvariables.patch SW5kZXg6IGF1ZGlvL2dzdGEyZHBzaW5rLmMKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL2N2c3Jvb3Qv Ymx1ZXovdXRpbHMvYXVkaW8vZ3N0YTJkcHNpbmsuYyx2CnJldHJpZXZpbmcgcmV2aXNpb24gMS42 CmRpZmYgLXUgLXIxLjYgZ3N0YTJkcHNpbmsuYwotLS0gYXVkaW8vZ3N0YTJkcH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yZHAuYnVmZmVyKSk7CiAKIAlyZXR1cm4gVFJV RTsKIH0K ------=_Part_19306_5043671.1193080883998 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ------=_Part_19306_5043671.1193080883998 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel ------=_Part_19306_5043671.1193080883998--