Commit da29ccef authored by Marc-André Lureau's avatar Marc-André Lureau Committed by Jens Georg
Browse files

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
parent b11c6090
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment