[rygel] Remove NoArrayLength usage
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] Remove NoArrayLength usage
- Date: Mon, 29 Dec 2014 20:26:10 +0000 (UTC)
commit da29ccef397bb746c7bebe372edcc6d46a007f38
Author: Marc-André Lureau <marcandre lureau gmail com>
Date: Tue Dec 23 16:00:52 2014 +0100
Remove NoArrayLength usage
Solves the following build error:
make[3]: Entering directory '/home/elmarco/src/gnome/rygel/src/rygel'
VALAC rygel_vala.stamp
rygel-cmdline-config.vala:40.6-40.18: warning: attribute
`NoArrayLength' never used
[NoArrayLength]
^^^^^^^^^^^^^
rygel-cmdline-config.vala:63.6-63.18: warning: attribute
`NoArrayLength' never used
[NoArrayLength]
^^^^^^^^^^^^^
rygel-cmdline-config.vala:66.6-66.18: warning: attribute
`NoArrayLength' never used
[NoArrayLength]
^^^^^^^^^^^^^
rygel-cmdline-config.vala:69.6-69.18: warning: attribute
`NoArrayLength' never used
[NoArrayLength]
^^^^^^^^^^^^^
Compilation failed: 0 error(s), 4 warning(s)
Makefile:791: recipe for target 'rygel_vala.stamp' failed
https://bugzilla.gnome.org/show_bug.cgi?id=741913
src/rygel/rygel-cmdline-config.vala | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/rygel/rygel-cmdline-config.vala b/src/rygel/rygel-cmdline-config.vala
index 9a22314..a66246d 100644
--- a/src/rygel/rygel-cmdline-config.vala
+++ b/src/rygel/rygel-cmdline-config.vala
@@ -37,7 +37,6 @@ public errordomain Rygel.CmdlineConfigError {
*/
public class Rygel.CmdlineConfig : GLib.Object, Configuration {
[CCode (array_length = false, array_null_terminated = true)]
- [NoArrayLength]
private static string[] ifaces;
private static int port;
@@ -60,13 +59,10 @@ public class Rygel.CmdlineConfig : GLib.Object, Configuration {
private static bool replace;
[CCode (array_length = false, array_null_terminated = true)]
- [NoArrayLength]
private static string[] disabled_plugins;
[CCode (array_length = false, array_null_terminated = true)]
- [NoArrayLength]
private static string[] plugin_titles;
[CCode (array_length = false, array_null_terminated = true)]
- [NoArrayLength]
private static string[] plugin_options;
// Our singleton
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]