GNOME Bugzilla – Bug 710442
netclientclock: constify name parameter for gst_net_client_clock_new()
Last modified: 2013-10-18 09:19:22 UTC
The ‘name’ parameter of gst_net_client_clock_new() should be const since (if it was used) it would never be modified. Patch coming up.
Created attachment 257618 [details] [review] net: Constify a parameter to gst_net_client_clock_new() Even though this parameter is not used, it should be const to fit in with the coding standards for other similar parameters. Client code already passes in const strings under the expectation that they won’t be modified.
Indeed, thanks for the patch! commit 3c8424d9ae14204d40bdd50b78d275b844fc39d8 Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Fri Oct 18 08:58:05 2013 +0100 net: Constify a parameter to gst_net_client_clock_new() Even though this parameter is not used, it should be const to fit in with the coding standards for other similar parameters. Client code already passes in const strings under the expectation that they won’t be modified. https://bugzilla.gnome.org/show_bug.cgi?id=710442