rygel-0.42.6-1.fc41
List of Defects
Error: CPPCHECK_WARNING: [#def1]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/agent-matcher.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def2]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/dlna150-hacks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def3]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/dlna150-hacks.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/dlna150-hacks.c:33:20: warning[-Wunused-variable]: ‘rygel_dlna150_hacks_properties’ defined but not used
# 33 | static GParamSpec* rygel_dlna150_hacks_properties[RYGEL_DLNA150_HACKS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 31| RYGEL_DLNA150_HACKS_NUM_PROPERTIES
# 32| };
# 33|-> static GParamSpec* rygel_dlna150_hacks_properties[RYGEL_DLNA150_HACKS_NUM_PROPERTIES];
# 34| #define _g_free0(var) (var = (g_free (var), NULL))
# 35|
Error: COMPILER_WARNING (CWE-563): [#def4]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-base-configuration.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-base-configuration.c:47:20: warning[-Wunused-variable]: ‘rygel_base_configuration_properties’ defined but not used
# 47 | static GParamSpec* rygel_base_configuration_properties[RYGEL_BASE_CONFIGURATION_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 45| RYGEL_BASE_CONFIGURATION_NUM_PROPERTIES
# 46| };
# 47|-> static GParamSpec* rygel_base_configuration_properties[RYGEL_BASE_CONFIGURATION_NUM_PROPERTIES];
# 48|
# 49| static gpointer rygel_base_configuration_parent_class = NULL;
Error: CPPCHECK_WARNING: [#def5]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-basic-management-test-nslookup.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def6]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-basic-management-test-ping.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def7]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-basic-management-test-traceroute.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def8]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-basic-management.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def9]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-cmdline-config.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def10]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-cmdline-config.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-cmdline-config.c:54:20: warning[-Wunused-variable]: ‘rygel_cmdline_config_properties’ defined but not used
# 54 | static GParamSpec* rygel_cmdline_config_properties[RYGEL_CMDLINE_CONFIG_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 52| RYGEL_CMDLINE_CONFIG_NUM_PROPERTIES
# 53| };
# 54|-> static GParamSpec* rygel_cmdline_config_properties[RYGEL_CMDLINE_CONFIG_NUM_PROPERTIES];
# 55| #define _g_variant_dict_unref0(var) ((var == NULL) ? NULL : (var = (g_variant_dict_unref (var), NULL)))
# 56| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def11]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-connection-manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def12]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-connection-manager.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-connection-manager.c:49:20: warning[-Wunused-variable]: ‘rygel_connection_manager_properties’ defined but not used
# 49 | static GParamSpec* rygel_connection_manager_properties[RYGEL_CONNECTION_MANAGER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 47| RYGEL_CONNECTION_MANAGER_NUM_PROPERTIES
# 48| };
# 49|-> static GParamSpec* rygel_connection_manager_properties[RYGEL_CONNECTION_MANAGER_NUM_PROPERTIES];
# 50| #define _g_free0(var) (var = (g_free (var), NULL))
# 51|
Error: CPPCHECK_WARNING: [#def13]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-description-file.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def14]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-description-file.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-description-file.c:61:20: warning[-Wunused-variable]: ‘rygel_description_file_properties’ defined but not used
# 61 | static GParamSpec* rygel_description_file_properties[RYGEL_DESCRIPTION_FILE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 59| RYGEL_DESCRIPTION_FILE_NUM_PROPERTIES
# 60| };
# 61|-> static GParamSpec* rygel_description_file_properties[RYGEL_DESCRIPTION_FILE_NUM_PROPERTIES];
# 62| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 63| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def15]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-energy-management.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def16]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-energy-management.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-energy-management.c:85:20: warning[-Wunused-variable]: ‘rygel_energy_management_properties’ defined but not used
# 85 | static GParamSpec* rygel_energy_management_properties[RYGEL_ENERGY_MANAGEMENT_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 83| RYGEL_ENERGY_MANAGEMENT_NUM_PROPERTIES
# 84| };
# 85|-> static GParamSpec* rygel_energy_management_properties[RYGEL_ENERGY_MANAGEMENT_NUM_PROPERTIES];
# 86| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 87| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def17]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-environment-config.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def18]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-environment-config.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-environment-config.c:51:20: warning[-Wunused-variable]: ‘rygel_environment_config_properties’ defined but not used
# 51 | static GParamSpec* rygel_environment_config_properties[RYGEL_ENVIRONMENT_CONFIG_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 49| RYGEL_ENVIRONMENT_CONFIG_NUM_PROPERTIES
# 50| };
# 51|-> static GParamSpec* rygel_environment_config_properties[RYGEL_ENVIRONMENT_CONFIG_NUM_PROPERTIES];
# 52| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 53| #define _g_free0(var) (var = (g_free (var), NULL))
Error: COMPILER_WARNING (CWE-563): [#def19]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-log-handler.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-log-handler.c:50:20: warning[-Wunused-variable]: ‘rygel_log_handler_properties’ defined but not used
# 50 | static GParamSpec* rygel_log_handler_properties[RYGEL_LOG_HANDLER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 48| RYGEL_LOG_HANDLER_NUM_PROPERTIES
# 49| };
# 50|-> static GParamSpec* rygel_log_handler_properties[RYGEL_LOG_HANDLER_NUM_PROPERTIES];
# 51| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 52| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def20]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-meta-config.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def21]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-meta-config.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-meta-config.c:52:20: warning[-Wunused-variable]: ‘rygel_meta_config_properties’ defined but not used
# 52 | static GParamSpec* rygel_meta_config_properties[RYGEL_META_CONFIG_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 50| RYGEL_META_CONFIG_NUM_PROPERTIES
# 51| };
# 52|-> static GParamSpec* rygel_meta_config_properties[RYGEL_META_CONFIG_NUM_PROPERTIES];
# 53| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 54| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def22]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-plugin-information.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def23]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-plugin-loader.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def24]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-plugin-loader.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-plugin-loader.c:53:20: warning[-Wunused-variable]: ‘rygel_plugin_loader_properties’ defined but not used
# 53 | static GParamSpec* rygel_plugin_loader_properties[RYGEL_PLUGIN_LOADER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 51| RYGEL_PLUGIN_LOADER_NUM_PROPERTIES
# 52| };
# 53|-> static GParamSpec* rygel_plugin_loader_properties[RYGEL_PLUGIN_LOADER_NUM_PROPERTIES];
# 54| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 55| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def25]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-recursive-module-loader.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def26]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-root-device-factory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def27]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-root-device.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def28]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-user-config.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def29]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-user-config.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-user-config.c:62:20: warning[-Wunused-variable]: ‘rygel_user_config_properties’ defined but not used
# 62 | static GParamSpec* rygel_user_config_properties[RYGEL_USER_CONFIG_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 60| RYGEL_USER_CONFIG_NUM_PROPERTIES
# 61| };
# 62|-> static GParamSpec* rygel_user_config_properties[RYGEL_USER_CONFIG_NUM_PROPERTIES];
# 63|
# 64| #define RYGEL_USER_CONFIG_TYPE_CONFIG_PAIR (rygel_user_config_config_pair_get_type ())
Error: CPPCHECK_WARNING: [#def30]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-v1-hacks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def31]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-xml-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def32]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-db/librygel-db-2.8.so.0.42.6.p/database-cursor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def33]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-db/librygel-db-2.8.so.0.42.6.p/database-cursor.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-db/librygel-db-2.8.so.0.42.6.p/database-cursor.c:48:20: warning[-Wunused-variable]: ‘rygel_database_cursor_properties’ defined but not used
# 48 | static GParamSpec* rygel_database_cursor_properties[RYGEL_DATABASE_CURSOR_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 46| RYGEL_DATABASE_CURSOR_NUM_PROPERTIES
# 47| };
# 48|-> static GParamSpec* rygel_database_cursor_properties[RYGEL_DATABASE_CURSOR_NUM_PROPERTIES];
# 49| #define _sqlite3_finalize0(var) ((var == NULL) ? NULL : (var = (sqlite3_finalize (var), NULL)))
# 50| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def34]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-db/librygel-db-2.8.so.0.42.6.p/database.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def35]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-db/librygel-db-2.8.so.0.42.6.p/sql-function.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-db/librygel-db-2.8.so.0.42.6.p/sql-function.c:45:20: warning[-Wunused-variable]: ‘rygel_database_sql_function_properties’ defined but not used
# 45 | static GParamSpec* rygel_database_sql_function_properties[RYGEL_DATABASE_SQL_FUNCTION_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 43| RYGEL_DATABASE_SQL_FUNCTION_NUM_PROPERTIES
# 44| };
# 45|-> static GParamSpec* rygel_database_sql_function_properties[RYGEL_DATABASE_SQL_FUNCTION_NUM_PROPERTIES];
# 46|
# 47| static gpointer rygel_database_sql_function_parent_class = NULL;
Error: COMPILER_WARNING (CWE-563): [#def36]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-db/librygel-db-2.8.so.0.42.6.p/sql-operator.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-db/librygel-db-2.8.so.0.42.6.p/sql-operator.c:46:20: warning[-Wunused-variable]: ‘rygel_database_sql_operator_properties’ defined but not used
# 46 | static GParamSpec* rygel_database_sql_operator_properties[RYGEL_DATABASE_SQL_OPERATOR_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 44| RYGEL_DATABASE_SQL_OPERATOR_NUM_PROPERTIES
# 45| };
# 46|-> static GParamSpec* rygel_database_sql_operator_properties[RYGEL_DATABASE_SQL_OPERATOR_NUM_PROPERTIES];
# 47| #define _g_free0(var) (var = (g_free (var), NULL))
# 48|
Error: CPPCHECK_WARNING: [#def37]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-renderer-gst/librygel-renderer-gst-2.8.so.0.42.6.p/rygel-playbin-player.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def38]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-renderer-gst/librygel-renderer-gst-2.8.so.0.42.6.p/rygel-playbin-renderer.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-renderer-gst/librygel-renderer-gst-2.8.so.0.42.6.p/rygel-playbin-renderer.c:45:20: warning[-Wunused-variable]: ‘rygel_playbin_renderer_properties’ defined but not used
# 45 | static GParamSpec* rygel_playbin_renderer_properties[RYGEL_PLAYBIN_RENDERER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 43| RYGEL_PLAYBIN_RENDERER_NUM_PROPERTIES
# 44| };
# 45|-> static GParamSpec* rygel_playbin_renderer_properties[RYGEL_PLAYBIN_RENDERER_NUM_PROPERTIES];
# 46| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 47| #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
Error: CPPCHECK_WARNING: [#def39]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-renderer/librygel-renderer-2.8.so.0.42.6.p/rygel-av-transport.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def40]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-renderer/librygel-renderer-2.8.so.0.42.6.p/rygel-changelog.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-renderer/librygel-renderer-2.8.so.0.42.6.p/rygel-changelog.c:58:20: warning[-Wunused-variable]: ‘rygel_change_log_properties’ defined but not used
# 58 | static GParamSpec* rygel_change_log_properties[RYGEL_CHANGE_LOG_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 56| RYGEL_CHANGE_LOG_NUM_PROPERTIES
# 57| };
# 58|-> static GParamSpec* rygel_change_log_properties[RYGEL_CHANGE_LOG_NUM_PROPERTIES];
# 59| #define _g_free0(var) (var = (g_free (var), NULL))
# 60| #define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))
Error: CPPCHECK_WARNING: [#def41]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-renderer/librygel-renderer-2.8.so.0.42.6.p/rygel-default-player-controller.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def42]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-renderer/librygel-renderer-2.8.so.0.42.6.p/rygel-media-renderer-plugin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def43]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-renderer/librygel-renderer-2.8.so.0.42.6.p/rygel-media-renderer.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-renderer/librygel-renderer-2.8.so.0.42.6.p/rygel-media-renderer.c:55:20: warning[-Wunused-variable]: ‘plugin_properties’ defined but not used
# 55 | static GParamSpec* plugin_properties[PLUGIN_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~
# 53| PLUGIN_NUM_PROPERTIES
# 54| };
# 55|-> static GParamSpec* plugin_properties[PLUGIN_NUM_PROPERTIES];
# 56| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 57| enum {
Error: CPPCHECK_WARNING: [#def44]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-renderer/librygel-renderer-2.8.so.0.42.6.p/rygel-player-controller.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def45]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-renderer/librygel-renderer-2.8.so.0.42.6.p/rygel-rendering-control.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def46]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-renderer/librygel-renderer-2.8.so.0.42.6.p/rygel-sink-connection-manager.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-renderer/librygel-renderer-2.8.so.0.42.6.p/rygel-sink-connection-manager.c:58:20: warning[-Wunused-variable]: ‘rygel_sink_connection_manager_properties’ defined but not used
# 58 | static GParamSpec* rygel_sink_connection_manager_properties[RYGEL_SINK_CONNECTION_MANAGER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 56| RYGEL_SINK_CONNECTION_MANAGER_NUM_PROPERTIES
# 57| };
# 58|-> static GParamSpec* rygel_sink_connection_manager_properties[RYGEL_SINK_CONNECTION_MANAGER_NUM_PROPERTIES];
# 59| #define _g_free0(var) (var = (g_free (var), NULL))
# 60| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def47]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-renderer/librygel-renderer-2.8.so.0.42.6.p/rygel-time-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def48]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-ruih/librygel-ruih-2.8.so.0.42.6.p/rygel-ruih-filter-entry.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def49]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-ruih/librygel-ruih-2.8.so.0.42.6.p/rygel-ruih-icon-elem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def50]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-ruih/librygel-ruih-2.8.so.0.42.6.p/rygel-ruih-protocol-elem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def51]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-ruih/librygel-ruih-2.8.so.0.42.6.p/rygel-ruih-server-plugin.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-ruih/librygel-ruih-2.8.so.0.42.6.p/rygel-ruih-server-plugin.c:54:20: warning[-Wunused-variable]: ‘rygel_ruih_server_plugin_properties’ defined but not used
# 54 | static GParamSpec* rygel_ruih_server_plugin_properties[RYGEL_RUIH_SERVER_PLUGIN_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 52| RYGEL_RUIH_SERVER_PLUGIN_NUM_PROPERTIES
# 53| };
# 54|-> static GParamSpec* rygel_ruih_server_plugin_properties[RYGEL_RUIH_SERVER_PLUGIN_NUM_PROPERTIES];
# 55|
# 56| #define RYGEL_TYPE_RUIH_SERVICE (rygel_ruih_service_get_type ())
Error: COMPILER_WARNING (CWE-563): [#def52]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-ruih/librygel-ruih-2.8.so.0.42.6.p/rygel-ruih-server.c:57:20: warning[-Wunused-variable]: ‘plugin_properties’ defined but not used
# 57 | static GParamSpec* plugin_properties[PLUGIN_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~
# 55| PLUGIN_NUM_PROPERTIES
# 56| };
# 57|-> static GParamSpec* plugin_properties[PLUGIN_NUM_PROPERTIES];
# 58| enum {
# 59| RYGEL_RUIH_SERVER_0_PROPERTY,
Error: COMPILER_WARNING (CWE-563): [#def53]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-ruih/librygel-ruih-2.8.so.0.42.6.p/rygel-ruih-server.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-ruih/librygel-ruih-2.8.so.0.42.6.p/rygel-ruih-server.c:62:20: warning[-Wunused-variable]: ‘rygel_ruih_server_properties’ defined but not used
# 62 | static GParamSpec* rygel_ruih_server_properties[RYGEL_RUIH_SERVER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 60| RYGEL_RUIH_SERVER_NUM_PROPERTIES
# 61| };
# 62|-> static GParamSpec* rygel_ruih_server_properties[RYGEL_RUIH_SERVER_NUM_PROPERTIES];
# 63| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 64|
Error: CPPCHECK_WARNING: [#def54]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-ruih/librygel-ruih-2.8.so.0.42.6.p/rygel-ruih-service.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def55]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-ruih/librygel-ruih-2.8.so.0.42.6.p/rygel-ruih-service.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-ruih/librygel-ruih-2.8.so.0.42.6.p/rygel-ruih-service.c:62:20: warning[-Wunused-variable]: ‘rygel_ruih_service_properties’ defined but not used
# 62 | static GParamSpec* rygel_ruih_service_properties[RYGEL_RUIH_SERVICE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 60| RYGEL_RUIH_SERVICE_NUM_PROPERTIES
# 61| };
# 62|-> static GParamSpec* rygel_ruih_service_properties[RYGEL_RUIH_SERVICE_NUM_PROPERTIES];
# 63| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 64| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def56]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-ruih/librygel-ruih-2.8.so.0.42.6.p/rygel-ruih-servicemanager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def57]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-ruih/librygel-ruih-2.8.so.0.42.6.p/rygel-ruih-servicemanager.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-ruih/librygel-ruih-2.8.so.0.42.6.p/rygel-ruih-servicemanager.c:59:20: warning[-Wunused-variable]: ‘rygel_ruih_service_manager_properties’ defined but not used
# 59 | static GParamSpec* rygel_ruih_service_manager_properties[RYGEL_RUIH_SERVICE_MANAGER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 57| RYGEL_RUIH_SERVICE_MANAGER_NUM_PROPERTIES
# 58| };
# 59|-> static GParamSpec* rygel_ruih_service_manager_properties[RYGEL_RUIH_SERVICE_MANAGER_NUM_PROPERTIES];
# 60| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 61| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def58]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-ruih/librygel-ruih-2.8.so.0.42.6.p/rygel-ruih-ui-elem.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def59]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-ruih/librygel-ruih-2.8.so.0.42.6.p/rygel-ruih-ui-listing.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def60]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/raumfeld-hacks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def61]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/raumfeld-hacks.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/raumfeld-hacks.c:61:20: warning[-Wunused-variable]: ‘rygel_raumfeld_hacks_properties’ defined but not used
# 61 | static GParamSpec* rygel_raumfeld_hacks_properties[RYGEL_RAUMFELD_HACKS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 59| RYGEL_RAUMFELD_HACKS_NUM_PROPERTIES
# 60| };
# 61|-> static GParamSpec* rygel_raumfeld_hacks_properties[RYGEL_RAUMFELD_HACKS_NUM_PROPERTIES];
# 62|
# 63| #define RYGEL_TYPE_CLIENT_HACKS_ERROR (rygel_client_hacks_error_get_type ())
Error: CPPCHECK_WARNING: [#def62]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-audio-item.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def63]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-browse.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def64]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-browse.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-browse.c:83:20: warning[-Wunused-variable]: ‘rygel_browse_properties’ defined but not used
# 83 | static GParamSpec* rygel_browse_properties[RYGEL_BROWSE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~
# 81| RYGEL_BROWSE_NUM_PROPERTIES
# 82| };
# 83|-> static GParamSpec* rygel_browse_properties[RYGEL_BROWSE_NUM_PROPERTIES];
# 84| #define _g_free0(var) (var = (g_free (var), NULL))
# 85| #define __vala_GUPnPServiceAction_free0(var) ((var == NULL) ? NULL : (var = (_vala_GUPnPServiceAction_free (var), NULL)))
Error: CPPCHECK_WARNING: [#def65]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-client-hacks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def66]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-content-directory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def67]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-content-directory.c:75:20: warning[-Wunused-variable]: ‘rygel_content_directory_properties’ defined but not used
# 75 | static GParamSpec* rygel_content_directory_properties[RYGEL_CONTENT_DIRECTORY_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 73| RYGEL_CONTENT_DIRECTORY_NUM_PROPERTIES
# 74| };
# 75|-> static GParamSpec* rygel_content_directory_properties[RYGEL_CONTENT_DIRECTORY_NUM_PROPERTIES];
# 76| #define _g_free0(var) (var = (g_free (var), NULL))
# 77| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def68]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-data-sink.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-data-sink.c:60:20: warning[-Wunused-variable]: ‘rygel_data_sink_properties’ defined but not used
# 60 | static GParamSpec* rygel_data_sink_properties[RYGEL_DATA_SINK_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~
# 58| RYGEL_DATA_SINK_NUM_PROPERTIES
# 59| };
# 60|-> static GParamSpec* rygel_data_sink_properties[RYGEL_DATA_SINK_NUM_PROPERTIES];
# 61| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 62| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def69]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-dbus-thumbnailer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def70]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-dbus-thumbnailer.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-dbus-thumbnailer.c:85:20: warning[-Wunused-variable]: ‘rygel_dbus_thumbnailer_properties’ defined but not used
# 85 | static GParamSpec* rygel_dbus_thumbnailer_properties[RYGEL_DBUS_THUMBNAILER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 83| RYGEL_DBUS_THUMBNAILER_NUM_PROPERTIES
# 84| };
# 85|-> static GParamSpec* rygel_dbus_thumbnailer_properties[RYGEL_DBUS_THUMBNAILER_NUM_PROPERTIES];
# 86| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 87| #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def71]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-dlna-available-seek-request.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-dlna-available-seek-request.c:47:20: warning[-Wunused-variable]: ‘rygel_dlna_available_seek_range_request_properties’ defined but not used
# 47 | static GParamSpec* rygel_dlna_available_seek_range_request_properties[RYGEL_DLNA_AVAILABLE_SEEK_RANGE_REQUEST_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 45| RYGEL_DLNA_AVAILABLE_SEEK_RANGE_REQUEST_NUM_PROPERTIES
# 46| };
# 47|-> static GParamSpec* rygel_dlna_available_seek_range_request_properties[RYGEL_DLNA_AVAILABLE_SEEK_RANGE_REQUEST_NUM_PROPERTIES];
# 48| #define _g_free0(var) (var = (g_free (var), NULL))
# 49| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def72]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-dtcp-cleartext-request.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def73]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-engine-loader.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def74]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-engine-loader.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-engine-loader.c:59:20: warning[-Wunused-variable]: ‘rygel_engine_loader_properties’ defined but not used
# 59 | static GParamSpec* rygel_engine_loader_properties[RYGEL_ENGINE_LOADER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 57| RYGEL_ENGINE_LOADER_NUM_PROPERTIES
# 58| };
# 59|-> static GParamSpec* rygel_engine_loader_properties[RYGEL_ENGINE_LOADER_NUM_PROPERTIES];
# 60| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 61| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def75]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-byte-seek-request.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def76]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-get.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-get.c:59:20: warning[-Wunused-variable]: ‘rygel_http_get_properties’ defined but not used
# 59 | static GParamSpec* rygel_http_get_properties[RYGEL_HTTP_GET_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
# 57| RYGEL_HTTP_GET_NUM_PROPERTIES
# 58| };
# 59|-> static GParamSpec* rygel_http_get_properties[RYGEL_HTTP_GET_NUM_PROPERTIES];
# 60| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 61| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def77]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-item-uri.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def78]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-post.c:62:20: warning[-Wunused-variable]: ‘rygel_http_post_properties’ defined but not used
# 62 | static GParamSpec* rygel_http_post_properties[RYGEL_HTTP_POST_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~
# 60| RYGEL_HTTP_POST_NUM_PROPERTIES
# 61| };
# 62|-> static GParamSpec* rygel_http_post_properties[RYGEL_HTTP_POST_NUM_PROPERTIES];
# 63| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 64|
Error: COMPILER_WARNING (CWE-563): [#def79]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-resource-handler.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-resource-handler.c:59:20: warning[-Wunused-variable]: ‘rygel_http_media_resource_handler_properties’ defined but not used
# 59 | static GParamSpec* rygel_http_media_resource_handler_properties[RYGEL_HTTP_MEDIA_RESOURCE_HANDLER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 57| RYGEL_HTTP_MEDIA_RESOURCE_HANDLER_NUM_PROPERTIES
# 58| };
# 59|-> static GParamSpec* rygel_http_media_resource_handler_properties[RYGEL_HTTP_MEDIA_RESOURCE_HANDLER_NUM_PROPERTIES];
# 60| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 61| #define _g_free0(var) (var = (g_free (var), NULL))
Error: COMPILER_WARNING (CWE-563): [#def80]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-response-element.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-response-element.c:45:20: warning[-Wunused-variable]: ‘rygel_http_response_element_properties’ defined but not used
# 45 | static GParamSpec* rygel_http_response_element_properties[RYGEL_HTTP_RESPONSE_ELEMENT_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 43| RYGEL_HTTP_RESPONSE_ELEMENT_NUM_PROPERTIES
# 44| };
# 45|-> static GParamSpec* rygel_http_response_element_properties[RYGEL_HTTP_RESPONSE_ELEMENT_NUM_PROPERTIES];
# 46|
# 47| static gpointer rygel_http_response_element_parent_class = NULL;
Error: CPPCHECK_WARNING: [#def81]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-response.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def82]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-seek.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-seek.c:50:20: warning[-Wunused-variable]: ‘rygel_http_seek_request_properties’ defined but not used
# 50 | static GParamSpec* rygel_http_seek_request_properties[RYGEL_HTTP_SEEK_REQUEST_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 48| RYGEL_HTTP_SEEK_REQUEST_NUM_PROPERTIES
# 49| };
# 50|-> static GParamSpec* rygel_http_seek_request_properties[RYGEL_HTTP_SEEK_REQUEST_NUM_PROPERTIES];
# 51|
# 52| /**
Error: CPPCHECK_WARNING: [#def83]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-server.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def84]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-subtitle-handler.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-subtitle-handler.c:64:20: warning[-Wunused-variable]: ‘rygel_http_subtitle_handler_properties’ defined but not used
# 64 | static GParamSpec* rygel_http_subtitle_handler_properties[RYGEL_HTTP_SUBTITLE_HANDLER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 62| RYGEL_HTTP_SUBTITLE_HANDLER_NUM_PROPERTIES
# 63| };
# 64|-> static GParamSpec* rygel_http_subtitle_handler_properties[RYGEL_HTTP_SUBTITLE_HANDLER_NUM_PROPERTIES];
# 65| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 66| #define _rygel_subtitle_unref0(var) ((var == NULL) ? NULL : (var = (rygel_subtitle_unref (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def85]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-thumbnail-handler.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-thumbnail-handler.c:65:20: warning[-Wunused-variable]: ‘rygel_http_thumbnail_handler_properties’ defined but not used
# 65 | static GParamSpec* rygel_http_thumbnail_handler_properties[RYGEL_HTTP_THUMBNAIL_HANDLER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 63| RYGEL_HTTP_THUMBNAIL_HANDLER_NUM_PROPERTIES
# 64| };
# 65|-> static GParamSpec* rygel_http_thumbnail_handler_properties[RYGEL_HTTP_THUMBNAIL_HANDLER_NUM_PROPERTIES];
# 66| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 67| #define _rygel_icon_info_unref0(var) ((var == NULL) ? NULL : (var = (rygel_icon_info_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def86]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-time-seek-request.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def87]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-time-seek-request.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-time-seek-request.c:53:20: warning[-Wunused-variable]: ‘rygel_http_time_seek_request_properties’ defined but not used
# 53 | static GParamSpec* rygel_http_time_seek_request_properties[RYGEL_HTTP_TIME_SEEK_REQUEST_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 51| RYGEL_HTTP_TIME_SEEK_REQUEST_NUM_PROPERTIES
# 52| };
# 53|-> static GParamSpec* rygel_http_time_seek_request_properties[RYGEL_HTTP_TIME_SEEK_REQUEST_NUM_PROPERTIES];
# 54| #define _g_free0(var) (var = (g_free (var), NULL))
# 55| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def88]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-time-seek-response.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def89]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-item-updater.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def90]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-last-change-entry.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-last-change-entry.c:53:20: warning[-Wunused-variable]: ‘rygel_last_change_entry_properties’ defined but not used
# 53 | static GParamSpec* rygel_last_change_entry_properties[RYGEL_LAST_CHANGE_ENTRY_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 51| RYGEL_LAST_CHANGE_ENTRY_NUM_PROPERTIES
# 52| };
# 53|-> static GParamSpec* rygel_last_change_entry_properties[RYGEL_LAST_CHANGE_ENTRY_NUM_PROPERTIES];
# 54| #define _g_free0(var) (var = (g_free (var), NULL))
# 55| #define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def91]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-last-change-obj-add.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-last-change-obj-add.c:64:20: warning[-Wunused-variable]: ‘rygel_last_change_obj_add_properties’ defined but not used
# 64 | static GParamSpec* rygel_last_change_obj_add_properties[RYGEL_LAST_CHANGE_OBJ_ADD_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 62| RYGEL_LAST_CHANGE_OBJ_ADD_NUM_PROPERTIES
# 63| };
# 64|-> static GParamSpec* rygel_last_change_obj_add_properties[RYGEL_LAST_CHANGE_OBJ_ADD_NUM_PROPERTIES];
# 65| #define _g_free0(var) (var = (g_free (var), NULL))
# 66| #define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def92]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-last-change-obj-del.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-last-change-obj-del.c:64:20: warning[-Wunused-variable]: ‘rygel_last_change_obj_del_properties’ defined but not used
# 64 | static GParamSpec* rygel_last_change_obj_del_properties[RYGEL_LAST_CHANGE_OBJ_DEL_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 62| RYGEL_LAST_CHANGE_OBJ_DEL_NUM_PROPERTIES
# 63| };
# 64|-> static GParamSpec* rygel_last_change_obj_del_properties[RYGEL_LAST_CHANGE_OBJ_DEL_NUM_PROPERTIES];
# 65| #define _g_free0(var) (var = (g_free (var), NULL))
# 66| #define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def93]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-last-change-obj-mod.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-last-change-obj-mod.c:64:20: warning[-Wunused-variable]: ‘rygel_last_change_obj_mod_properties’ defined but not used
# 64 | static GParamSpec* rygel_last_change_obj_mod_properties[RYGEL_LAST_CHANGE_OBJ_MOD_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 62| RYGEL_LAST_CHANGE_OBJ_MOD_NUM_PROPERTIES
# 63| };
# 64|-> static GParamSpec* rygel_last_change_obj_mod_properties[RYGEL_LAST_CHANGE_OBJ_MOD_NUM_PROPERTIES];
# 65| #define _g_free0(var) (var = (g_free (var), NULL))
# 66| #define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def94]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-last-change-st-done.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-last-change-st-done.c:64:20: warning[-Wunused-variable]: ‘rygel_last_change_st_done_properties’ defined but not used
# 64 | static GParamSpec* rygel_last_change_st_done_properties[RYGEL_LAST_CHANGE_ST_DONE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 62| RYGEL_LAST_CHANGE_ST_DONE_NUM_PROPERTIES
# 63| };
# 64|-> static GParamSpec* rygel_last_change_st_done_properties[RYGEL_LAST_CHANGE_ST_DONE_NUM_PROPERTIES];
# 65|
# 66| struct _RygelLastChangeEntry {
Error: COMPILER_WARNING (CWE-563): [#def95]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-last-change.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-last-change.c:66:20: warning[-Wunused-variable]: ‘rygel_last_change_properties’ defined but not used
# 66 | static GParamSpec* rygel_last_change_properties[RYGEL_LAST_CHANGE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 64| RYGEL_LAST_CHANGE_NUM_PROPERTIES
# 65| };
# 66|-> static GParamSpec* rygel_last_change_properties[RYGEL_LAST_CHANGE_NUM_PROPERTIES];
# 67| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 68| #define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))
Error: CPPCHECK_WARNING: [#def96]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-lg-tv-hacks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def97]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-lg-tv-hacks.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-lg-tv-hacks.c:80:20: warning[-Wunused-variable]: ‘rygel_lgtv_hacks_properties’ defined but not used
# 80 | static GParamSpec* rygel_lgtv_hacks_properties[RYGEL_LGTV_HACKS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 78| RYGEL_LGTV_HACKS_NUM_PROPERTIES
# 79| };
# 80|-> static GParamSpec* rygel_lgtv_hacks_properties[RYGEL_LGTV_HACKS_NUM_PROPERTIES];
# 81|
# 82| #define RYGEL_TYPE_CLIENT_HACKS_ERROR (rygel_client_hacks_error_get_type ())
Error: CPPCHECK_WARNING: [#def98]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-m3u-playlist.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def99]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-m3u-playlist.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-m3u-playlist.c:58:20: warning[-Wunused-variable]: ‘rygel_m3_uplay_list_properties’ defined but not used
# 58 | static GParamSpec* rygel_m3_uplay_list_properties[RYGEL_M3_UPLAY_LIST_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 56| RYGEL_M3_UPLAY_LIST_NUM_PROPERTIES
# 57| };
# 58|-> static GParamSpec* rygel_m3_uplay_list_properties[RYGEL_M3_UPLAY_LIST_NUM_PROPERTIES];
# 59| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 60| #define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))
Error: CPPCHECK_WARNING: [#def100]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-art-store.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def101]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-art-store.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-art-store.c:51:20: warning[-Wunused-variable]: ‘rygel_media_art_store_properties’ defined but not used
# 51 | static GParamSpec* rygel_media_art_store_properties[RYGEL_MEDIA_ART_STORE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 49| RYGEL_MEDIA_ART_STORE_NUM_PROPERTIES
# 50| };
# 51|-> static GParamSpec* rygel_media_art_store_properties[RYGEL_MEDIA_ART_STORE_NUM_PROPERTIES];
# 52| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 53| #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
Error: CPPCHECK_WARNING: [#def102]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-container.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def103]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-container.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-container.c:79:20: warning[-Wunused-variable]: ‘rygel_playlist_datasource_properties’ defined but not used
# 79 | static GParamSpec* rygel_playlist_datasource_properties[RYGEL_PLAYLIST_DATASOURCE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 77| RYGEL_PLAYLIST_DATASOURCE_NUM_PROPERTIES
# 78| };
# 79|-> static GParamSpec* rygel_playlist_datasource_properties[RYGEL_PLAYLIST_DATASOURCE_NUM_PROPERTIES];
# 80| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 81| #define _g_free0(var) (var = (g_free (var), NULL))
Error: COMPILER_WARNING (CWE-563): [#def104]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-engine.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-engine.c:51:20: warning[-Wunused-variable]: ‘rygel_media_engine_properties’ defined but not used
# 51 | static GParamSpec* rygel_media_engine_properties[RYGEL_MEDIA_ENGINE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 49| RYGEL_MEDIA_ENGINE_NUM_PROPERTIES
# 50| };
# 51|-> static GParamSpec* rygel_media_engine_properties[RYGEL_MEDIA_ENGINE_NUM_PROPERTIES];
# 52|
# 53| #define RYGEL_TYPE_ENGINE_LOADER (rygel_engine_loader_get_type ())
Error: CPPCHECK_WARNING: [#def105]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-file-item.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def106]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-item.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def107]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-object.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def108]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-objects.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def109]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-objects.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-objects.c:47:20: warning[-Wunused-variable]: ‘rygel_media_objects_properties’ defined but not used
# 47 | static GParamSpec* rygel_media_objects_properties[RYGEL_MEDIA_OBJECTS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 45| RYGEL_MEDIA_OBJECTS_NUM_PROPERTIES
# 46| };
# 47|-> static GParamSpec* rygel_media_objects_properties[RYGEL_MEDIA_OBJECTS_NUM_PROPERTIES];
# 48| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 49| typedef struct _Block1Data Block1Data;
Error: CPPCHECK_WARNING: [#def110]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-query-action.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def111]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-receiver-registrar.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-receiver-registrar.c:61:20: warning[-Wunused-variable]: ‘rygel_media_receiver_registrar_properties’ defined but not used
# 61 | static GParamSpec* rygel_media_receiver_registrar_properties[RYGEL_MEDIA_RECEIVER_REGISTRAR_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 59| RYGEL_MEDIA_RECEIVER_REGISTRAR_NUM_PROPERTIES
# 60| };
# 61|-> static GParamSpec* rygel_media_receiver_registrar_properties[RYGEL_MEDIA_RECEIVER_REGISTRAR_NUM_PROPERTIES];
# 62|
# 63| struct _RygelMediaReceiverRegistrar {
Error: CPPCHECK_WARNING: [#def112]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-resource.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def113]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-server-plugin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def114]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-server.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-server.c:55:20: warning[-Wunused-variable]: ‘plugin_properties’ defined but not used
# 55 | static GParamSpec* plugin_properties[PLUGIN_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~
# 53| PLUGIN_NUM_PROPERTIES
# 54| };
# 55|-> static GParamSpec* plugin_properties[PLUGIN_NUM_PROPERTIES];
# 56| enum {
# 57| RYGEL_MEDIA_SERVER_0_PROPERTY,
Error: CPPCHECK_WARNING: [#def115]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-music-item.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def116]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-object-creator.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def117]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-object-creator.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-object-creator.c:65:20: warning[-Wunused-variable]: ‘rygel_base_media_container_properties’ defined but not used
# 65 | static GParamSpec* rygel_base_media_container_properties[RYGEL_BASE_MEDIA_CONTAINER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 63| RYGEL_BASE_MEDIA_CONTAINER_NUM_PROPERTIES
# 64| };
# 65|-> static GParamSpec* rygel_base_media_container_properties[RYGEL_BASE_MEDIA_CONTAINER_NUM_PROPERTIES];
# 66| #define _g_free0(var) (var = (g_free (var), NULL))
# 67| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def118]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-object-removal-queue.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-object-removal-queue.c:58:20: warning[-Wunused-variable]: ‘rygel_object_removal_queue_properties’ defined but not used
# 58 | static GParamSpec* rygel_object_removal_queue_properties[RYGEL_OBJECT_REMOVAL_QUEUE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 56| RYGEL_OBJECT_REMOVAL_QUEUE_NUM_PROPERTIES
# 57| };
# 58|-> static GParamSpec* rygel_object_removal_queue_properties[RYGEL_OBJECT_REMOVAL_QUEUE_NUM_PROPERTIES];
# 59| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 60| typedef struct _Block10Data Block10Data;
Error: CPPCHECK_WARNING: [#def119]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-panasonic-hacks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def120]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-panasonic-hacks.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-panasonic-hacks.c:81:20: warning[-Wunused-variable]: ‘rygel_panasonic_hacks_properties’ defined but not used
# 81 | static GParamSpec* rygel_panasonic_hacks_properties[RYGEL_PANASONIC_HACKS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 79| RYGEL_PANASONIC_HACKS_NUM_PROPERTIES
# 80| };
# 81|-> static GParamSpec* rygel_panasonic_hacks_properties[RYGEL_PANASONIC_HACKS_NUM_PROPERTIES];
# 82|
# 83| #define RYGEL_TYPE_CLIENT_HACKS_ERROR (rygel_client_hacks_error_get_type ())
Error: COMPILER_WARNING (CWE-563): [#def121]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-phillips-hacks.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-phillips-hacks.c:80:20: warning[-Wunused-variable]: ‘rygel_phillips_hacks_properties’ defined but not used
# 80 | static GParamSpec* rygel_phillips_hacks_properties[RYGEL_PHILLIPS_HACKS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 78| RYGEL_PHILLIPS_HACKS_NUM_PROPERTIES
# 79| };
# 80|-> static GParamSpec* rygel_phillips_hacks_properties[RYGEL_PHILLIPS_HACKS_NUM_PROPERTIES];
# 81|
# 82| #define RYGEL_TYPE_CLIENT_HACKS_ERROR (rygel_client_hacks_error_get_type ())
Error: COMPILER_WARNING (CWE-563): [#def122]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-photo-item.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-photo-item.c:50:20: warning[-Wunused-variable]: ‘rygel_photo_item_properties’ defined but not used
# 50 | static GParamSpec* rygel_photo_item_properties[RYGEL_PHOTO_ITEM_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 48| RYGEL_PHOTO_ITEM_NUM_PROPERTIES
# 49| };
# 50|-> static GParamSpec* rygel_photo_item_properties[RYGEL_PHOTO_ITEM_NUM_PROPERTIES];
# 51| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 52| #define _g_free0(var) (var = (g_free (var), NULL))
Error: COMPILER_WARNING (CWE-563): [#def123]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-playlist-item.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-playlist-item.c:46:20: warning[-Wunused-variable]: ‘rygel_playlist_item_properties’ defined but not used
# 46 | static GParamSpec* rygel_playlist_item_properties[RYGEL_PLAYLIST_ITEM_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 44| RYGEL_PLAYLIST_ITEM_NUM_PROPERTIES
# 45| };
# 46|-> static GParamSpec* rygel_playlist_item_properties[RYGEL_PLAYLIST_ITEM_NUM_PROPERTIES];
# 47|
# 48| static gpointer rygel_playlist_item_parent_class = NULL;
Error: CPPCHECK_WARNING: [#def124]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-playspeed-request.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def125]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-playspeed-response.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-playspeed-response.c:46:20: warning[-Wunused-variable]: ‘rygel_play_speed_response_properties’ defined but not used
# 46 | static GParamSpec* rygel_play_speed_response_properties[RYGEL_PLAY_SPEED_RESPONSE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 44| RYGEL_PLAY_SPEED_RESPONSE_NUM_PROPERTIES
# 45| };
# 46|-> static GParamSpec* rygel_play_speed_response_properties[RYGEL_PLAY_SPEED_RESPONSE_NUM_PROPERTIES];
# 47| #define _rygel_play_speed_unref0(var) ((var == NULL) ? NULL : (var = (rygel_play_speed_unref (var), NULL)))
# 48| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def126]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-playspeed.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def127]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-relational-expression.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def128]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-samsung-tv-hacks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def129]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-samsung-tv-hacks.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-samsung-tv-hacks.c:79:20: warning[-Wunused-variable]: ‘rygel_samsung_tv_hacks_properties’ defined but not used
# 79 | static GParamSpec* rygel_samsung_tv_hacks_properties[RYGEL_SAMSUNG_TV_HACKS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 77| RYGEL_SAMSUNG_TV_HACKS_NUM_PROPERTIES
# 78| };
# 79|-> static GParamSpec* rygel_samsung_tv_hacks_properties[RYGEL_SAMSUNG_TV_HACKS_NUM_PROPERTIES];
# 80|
# 81| #define RYGEL_TYPE_CLIENT_HACKS_ERROR (rygel_client_hacks_error_get_type ())
Error: CPPCHECK_WARNING: [#def130]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-search-criteria-parser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def131]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-search.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-search.c:81:20: warning[-Wunused-variable]: ‘rygel_search_properties’ defined but not used
# 81 | static GParamSpec* rygel_search_properties[RYGEL_SEARCH_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~
# 79| RYGEL_SEARCH_NUM_PROPERTIES
# 80| };
# 81|-> static GParamSpec* rygel_search_properties[RYGEL_SEARCH_NUM_PROPERTIES];
# 82| #define _g_free0(var) (var = (g_free (var), NULL))
# 83| #define __vala_GUPnPServiceAction_free0(var) ((var == NULL) ? NULL : (var = (_vala_GUPnPServiceAction_free (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def132]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-seek-hacks.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-seek-hacks.c:77:20: warning[-Wunused-variable]: ‘rygel_seek_hacks_properties’ defined but not used
# 77 | static GParamSpec* rygel_seek_hacks_properties[RYGEL_SEEK_HACKS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 75| RYGEL_SEEK_HACKS_NUM_PROPERTIES
# 76| };
# 77|-> static GParamSpec* rygel_seek_hacks_properties[RYGEL_SEEK_HACKS_NUM_PROPERTIES];
# 78|
# 79| #define RYGEL_TYPE_CLIENT_HACKS_ERROR (rygel_client_hacks_error_get_type ())
Error: CPPCHECK_WARNING: [#def133]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-simple-container.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def134]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-source-connection-manager.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-source-connection-manager.c:62:20: warning[-Wunused-variable]: ‘rygel_source_connection_manager_properties’ defined but not used
# 62 | static GParamSpec* rygel_source_connection_manager_properties[RYGEL_SOURCE_CONNECTION_MANAGER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 60| RYGEL_SOURCE_CONNECTION_MANAGER_NUM_PROPERTIES
# 61| };
# 62|-> static GParamSpec* rygel_source_connection_manager_properties[RYGEL_SOURCE_CONNECTION_MANAGER_NUM_PROPERTIES];
# 63| #define _g_free0(var) (var = (g_free (var), NULL))
# 64| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def135]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-subtitle-manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def136]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-subtitle-manager.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-subtitle-manager.c:62:20: warning[-Wunused-variable]: ‘rygel_subtitle_manager_properties’ defined but not used
# 62 | static GParamSpec* rygel_subtitle_manager_properties[RYGEL_SUBTITLE_MANAGER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 60| RYGEL_SUBTITLE_MANAGER_NUM_PROPERTIES
# 61| };
# 62|-> static GParamSpec* rygel_subtitle_manager_properties[RYGEL_SUBTITLE_MANAGER_NUM_PROPERTIES];
# 63| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 64| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def137]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-thumbnailer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def138]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-thumbnailer.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-thumbnailer.c:73:20: warning[-Wunused-variable]: ‘rygel_thumbnailer_properties’ defined but not used
# 73 | static GParamSpec* rygel_thumbnailer_properties[RYGEL_THUMBNAILER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 71| RYGEL_THUMBNAILER_NUM_PROPERTIES
# 72| };
# 73|-> static GParamSpec* rygel_thumbnailer_properties[RYGEL_THUMBNAILER_NUM_PROPERTIES];
# 74| #define _rygel_icon_info_unref0(var) ((var == NULL) ? NULL : (var = (rygel_icon_info_unref (var), NULL)))
# 75| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def139]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-video-item.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def140]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-visual-item.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def141]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-wmp-hacks.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-wmp-hacks.c:79:20: warning[-Wunused-variable]: ‘rygel_wmp_hacks_properties’ defined but not used
# 79 | static GParamSpec* rygel_wmp_hacks_properties[RYGEL_WMP_HACKS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~
# 77| RYGEL_WMP_HACKS_NUM_PROPERTIES
# 78| };
# 79|-> static GParamSpec* rygel_wmp_hacks_properties[RYGEL_WMP_HACKS_NUM_PROPERTIES];
# 80|
# 81| #define RYGEL_TYPE_CLIENT_HACKS_ERROR (rygel_client_hacks_error_get_type ())
Error: CPPCHECK_WARNING: [#def142]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-xbmc-hacks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def143]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-xbmc-hacks.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-xbmc-hacks.c:80:20: warning[-Wunused-variable]: ‘rygel_xbmc_hacks_properties’ defined but not used
# 80 | static GParamSpec* rygel_xbmc_hacks_properties[RYGEL_XBMC_HACKS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 78| RYGEL_XBMC_HACKS_NUM_PROPERTIES
# 79| };
# 80|-> static GParamSpec* rygel_xbmc_hacks_properties[RYGEL_XBMC_HACKS_NUM_PROPERTIES];
# 81|
# 82| #define RYGEL_TYPE_CLIENT_HACKS_ERROR (rygel_client_hacks_error_get_type ())
Error: CPPCHECK_WARNING: [#def144]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-xbmc4xbox-hacks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def145]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-xbmc4xbox-hacks.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-xbmc4xbox-hacks.c:92:20: warning[-Wunused-variable]: ‘rygel_xbm_c4_xbox_hacks_properties’ defined but not used
# 92 | static GParamSpec* rygel_xbm_c4_xbox_hacks_properties[RYGEL_XBM_C4_XBOX_HACKS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 90| RYGEL_XBM_C4_XBOX_HACKS_NUM_PROPERTIES
# 91| };
# 92|-> static GParamSpec* rygel_xbm_c4_xbox_hacks_properties[RYGEL_XBM_C4_XBOX_HACKS_NUM_PROPERTIES];
# 93|
# 94| #define RYGEL_TYPE_CLIENT_HACKS_ERROR (rygel_client_hacks_error_get_type ())
Error: CPPCHECK_WARNING: [#def146]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-xbox-hacks.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def147]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-xbox-hacks.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-xbox-hacks.c:92:20: warning[-Wunused-variable]: ‘rygel_xbox_hacks_properties’ defined but not used
# 92 | static GParamSpec* rygel_xbox_hacks_properties[RYGEL_XBOX_HACKS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 90| RYGEL_XBOX_HACKS_NUM_PROPERTIES
# 91| };
# 92|-> static GParamSpec* rygel_xbox_hacks_properties[RYGEL_XBOX_HACKS_NUM_PROPERTIES];
# 93|
# 94| #define RYGEL_TYPE_CLIENT_HACKS_ERROR (rygel_client_hacks_error_get_type ())
Error: GCC_ANALYZER_WARNING (CWE-465): [#def148]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-xbox-hacks.c:118:68: warning[-Wanalyzer-deref-before-check]: check of ‘*_data_.rel_expression’ for NULL after already dereferencing it
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:174:3: note: in expansion of macro ‘_rygel_search_expression_unref0’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala: scope_hint: In function ‘rygel_xbox_hacks_real_search_co’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:303:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:174:6: note: in expansion of macro ‘RYGEL_IS_RELATIONAL_EXPRESSION’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:303:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:174:6: note: in expansion of macro ‘RYGEL_IS_RELATIONAL_EXPRESSION’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:177:7: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-xbox-hacks.c:118:48: note: in definition of macro ‘_rygel_search_expression_unref0’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:174:3: note: in expansion of macro ‘_rygel_search_expression_unref0’
# 116| typedef struct _RygelBrowse RygelBrowse;
# 117| typedef struct _RygelBrowseClass RygelBrowseClass;
# 118|-> #define _rygel_search_expression_unref0(var) ((var == NULL) ? NULL : (var = (rygel_search_expression_unref (var), NULL)))
# 119| typedef struct _RygelXboxHacksSearchData RygelXboxHacksSearchData;
# 120|
Error: COMPILER_WARNING (CWE-563): [#def149]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-aac-transcoder.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-aac-transcoder.c:85:20: warning[-Wunused-variable]: ‘rygel_aac_transcoder_properties’ defined but not used
# 85 | static GParamSpec* rygel_aac_transcoder_properties[RYGEL_AAC_TRANSCODER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 83| RYGEL_AAC_TRANSCODER_NUM_PROPERTIES
# 84| };
# 85|-> static GParamSpec* rygel_aac_transcoder_properties[RYGEL_AAC_TRANSCODER_NUM_PROPERTIES];
# 86|
# 87| struct _RygelGstTranscoder {
Error: CPPCHECK_WARNING: [#def150]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-audio-transcoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def151]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-audio-transcoder.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-audio-transcoder.c:73:20: warning[-Wunused-variable]: ‘rygel_audio_transcoder_properties’ defined but not used
# 73 | static GParamSpec* rygel_audio_transcoder_properties[RYGEL_AUDIO_TRANSCODER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 71| RYGEL_AUDIO_TRANSCODER_NUM_PROPERTIES
# 72| };
# 73|-> static GParamSpec* rygel_audio_transcoder_properties[RYGEL_AUDIO_TRANSCODER_NUM_PROPERTIES];
# 74| #define _gst_caps_unref0(var) ((var == NULL) ? NULL : (var = (gst_caps_unref (var), NULL)))
# 75| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def152]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-avc-transcoder.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-avc-transcoder.c:100:20: warning[-Wunused-variable]: ‘rygel_avc_transcoder_properties’ defined but not used
# 100 | static GParamSpec* rygel_avc_transcoder_properties[RYGEL_AVC_TRANSCODER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 98| RYGEL_AVC_TRANSCODER_NUM_PROPERTIES
# 99| };
# 100|-> static GParamSpec* rygel_avc_transcoder_properties[RYGEL_AVC_TRANSCODER_NUM_PROPERTIES];
# 101|
# 102| struct _RygelGstTranscoder {
Error: CPPCHECK_WARNING: [#def153]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-gst-data-source.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def154]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-gst-data-source.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-gst-data-source.c:77:20: warning[-Wunused-variable]: ‘rygel_gst_data_source_properties’ defined but not used
# 77 | static GParamSpec* rygel_gst_data_source_properties[RYGEL_GST_DATA_SOURCE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 75| RYGEL_GST_DATA_SOURCE_NUM_PROPERTIES
# 76| };
# 77|-> static GParamSpec* rygel_gst_data_source_properties[RYGEL_GST_DATA_SOURCE_NUM_PROPERTIES];
# 78| typedef struct _RygelGstSinkPrivate RygelGstSinkPrivate;
# 79| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def155]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-gst-media-engine.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def156]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-gst-media-engine.c:67:20: warning[-Wunused-variable]: ‘rygel_gst_media_engine_properties’ defined but not used
# 67 | static GParamSpec* rygel_gst_media_engine_properties[RYGEL_GST_MEDIA_ENGINE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 65| RYGEL_GST_MEDIA_ENGINE_NUM_PROPERTIES
# 66| };
# 67|-> static GParamSpec* rygel_gst_media_engine_properties[RYGEL_GST_MEDIA_ENGINE_NUM_PROPERTIES];
# 68| #define _rygel_dlna_profile_unref0(var) ((var == NULL) ? NULL : (var = (rygel_dlna_profile_unref (var), NULL)))
# 69| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def157]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-gst-sink.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def158]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-gst-sink.c:66:20: warning[-Wunused-variable]: ‘rygel_gst_sink_properties’ defined but not used
# 66 | static GParamSpec* rygel_gst_sink_properties[RYGEL_GST_SINK_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
# 64| RYGEL_GST_SINK_NUM_PROPERTIES
# 65| };
# 66|-> static GParamSpec* rygel_gst_sink_properties[RYGEL_GST_SINK_NUM_PROPERTIES];
# 67| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 68| #define _gst_buffer_unref0(var) ((var == NULL) ? NULL : (var = (gst_buffer_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def159]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-gst-transcoding-data-source.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def160]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-gst-transcoding-data-source.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-gst-transcoding-data-source.c:60:20: warning[-Wunused-variable]: ‘rygel_transcoding_gst_data_source_properties’ defined but not used
# 60 | static GParamSpec* rygel_transcoding_gst_data_source_properties[RYGEL_TRANSCODING_GST_DATA_SOURCE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 58| RYGEL_TRANSCODING_GST_DATA_SOURCE_NUM_PROPERTIES
# 59| };
# 60|-> static GParamSpec* rygel_transcoding_gst_data_source_properties[RYGEL_TRANSCODING_GST_DATA_SOURCE_NUM_PROPERTIES];
# 61| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 62| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def161]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-gst-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def162]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-jpeg-transcoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def163]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-jpeg-transcoder.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-jpeg-transcoder.c:75:20: warning[-Wunused-variable]: ‘rygel_jpeg_transcoder_properties’ defined but not used
# 75 | static GParamSpec* rygel_jpeg_transcoder_properties[RYGEL_JPEG_TRANSCODER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 73| RYGEL_JPEG_TRANSCODER_NUM_PROPERTIES
# 74| };
# 75|-> static GParamSpec* rygel_jpeg_transcoder_properties[RYGEL_JPEG_TRANSCODER_NUM_PROPERTIES];
# 76| #define _g_free0(var) (var = (g_free (var), NULL))
# 77| #define _gst_caps_unref0(var) ((var == NULL) ? NULL : (var = (gst_caps_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def164]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-l16-transcoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def165]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-l16-transcoder.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-l16-transcoder.c:91:20: warning[-Wunused-variable]: ‘rygel_l16_transcoder_properties’ defined but not used
# 91 | static GParamSpec* rygel_l16_transcoder_properties[RYGEL_L16_TRANSCODER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 89| RYGEL_L16_TRANSCODER_NUM_PROPERTIES
# 90| };
# 91|-> static GParamSpec* rygel_l16_transcoder_properties[RYGEL_L16_TRANSCODER_NUM_PROPERTIES];
# 92| #define _g_free0(var) (var = (g_free (var), NULL))
# 93| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def166]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-mp2ts-transcoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def167]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-mp2ts-transcoder.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-mp2ts-transcoder.c:108:20: warning[-Wunused-variable]: ‘rygel_mp2_ts_transcoder_properties’ defined but not used
# 108 | static GParamSpec* rygel_mp2_ts_transcoder_properties[RYGEL_MP2_TS_TRANSCODER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 106| RYGEL_MP2_TS_TRANSCODER_NUM_PROPERTIES
# 107| };
# 108|-> static GParamSpec* rygel_mp2_ts_transcoder_properties[RYGEL_MP2_TS_TRANSCODER_NUM_PROPERTIES];
# 109| #define _g_free0(var) (var = (g_free (var), NULL))
# 110| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def168]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-mp3-transcoder.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-mp3-transcoder.c:87:20: warning[-Wunused-variable]: ‘rygel_mp3_transcoder_properties’ defined but not used
# 87 | static GParamSpec* rygel_mp3_transcoder_properties[RYGEL_MP3_TRANSCODER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 85| RYGEL_MP3_TRANSCODER_NUM_PROPERTIES
# 86| };
# 87|-> static GParamSpec* rygel_mp3_transcoder_properties[RYGEL_MP3_TRANSCODER_NUM_PROPERTIES];
# 88|
# 89| struct _RygelGstTranscoder {
Error: CPPCHECK_WARNING: [#def169]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-video-transcoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def170]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-video-transcoder.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-video-transcoder.c:82:20: warning[-Wunused-variable]: ‘rygel_video_transcoder_properties’ defined but not used
# 82 | static GParamSpec* rygel_video_transcoder_properties[RYGEL_VIDEO_TRANSCODER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 80| RYGEL_VIDEO_TRANSCODER_NUM_PROPERTIES
# 81| };
# 82|-> static GParamSpec* rygel_video_transcoder_properties[RYGEL_VIDEO_TRANSCODER_NUM_PROPERTIES];
# 83| #define _gst_caps_unref0(var) ((var == NULL) ? NULL : (var = (gst_caps_unref (var), NULL)))
# 84| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def171]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-wmv-transcoder.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-wmv-transcoder.c:96:20: warning[-Wunused-variable]: ‘rygel_wmv_transcoder_properties’ defined but not used
# 96 | static GParamSpec* rygel_wmv_transcoder_properties[RYGEL_WMV_TRANSCODER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 94| RYGEL_WMV_TRANSCODER_NUM_PROPERTIES
# 95| };
# 96|-> static GParamSpec* rygel_wmv_transcoder_properties[RYGEL_WMV_TRANSCODER_NUM_PROPERTIES];
# 97|
# 98| struct _RygelGstTranscoder {
Error: CPPCHECK_WARNING: [#def172]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/simple/librygel-media-engine-simple.so.p/rygel-simple-data-source.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def173]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/simple/librygel-media-engine-simple.so.p/rygel-simple-data-source.c:65:20: warning[-Wunused-variable]: ‘rygel_simple_data_source_properties’ defined but not used
# 65 | static GParamSpec* rygel_simple_data_source_properties[RYGEL_SIMPLE_DATA_SOURCE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 63| RYGEL_SIMPLE_DATA_SOURCE_NUM_PROPERTIES
# 64| };
# 65|-> static GParamSpec* rygel_simple_data_source_properties[RYGEL_SIMPLE_DATA_SOURCE_NUM_PROPERTIES];
# 66| #define _g_free0(var) (var = (g_free (var), NULL))
# 67| #define _g_thread_unref0(var) ((var == NULL) ? NULL : (var = (g_thread_unref (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def174]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/simple/librygel-media-engine-simple.so.p/rygel-simple-media-engine.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/simple/librygel-media-engine-simple.so.p/rygel-simple-media-engine.c:73:20: warning[-Wunused-variable]: ‘rygel_simple_media_engine_properties’ defined but not used
# 73 | static GParamSpec* rygel_simple_media_engine_properties[RYGEL_SIMPLE_MEDIA_ENGINE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 71| RYGEL_SIMPLE_MEDIA_ENGINE_NUM_PROPERTIES
# 72| };
# 73|-> static GParamSpec* rygel_simple_media_engine_properties[RYGEL_SIMPLE_MEDIA_ENGINE_NUM_PROPERTIES];
# 74| #define _g_thread_pool_free0(var) ((var == NULL) ? NULL : (var = (g_thread_pool_free (var, FALSE, TRUE), NULL)))
# 75| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def175]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/external/librygel-external.so.p/rygel-external-album-art-factory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def176]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/external/librygel-external.so.p/rygel-external-container.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def177]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/external/librygel-external.so.p/rygel-external-dummy-container.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/external/librygel-external.so.p/rygel-external-dummy-container.c:60:20: warning[-Wunused-variable]: ‘rygel_external_dummy_container_properties’ defined but not used
# 60 | static GParamSpec* rygel_external_dummy_container_properties[RYGEL_EXTERNAL_DUMMY_CONTAINER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 58| RYGEL_EXTERNAL_DUMMY_CONTAINER_NUM_PROPERTIES
# 59| };
# 60|-> static GParamSpec* rygel_external_dummy_container_properties[RYGEL_EXTERNAL_DUMMY_CONTAINER_NUM_PROPERTIES];
# 61| #define _g_free0(var) (var = (g_free (var), NULL))
# 62| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def178]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/external/librygel-external.so.p/rygel-external-icon-factory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def179]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/external/librygel-external.so.p/rygel-external-interfaces.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def180]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/external/librygel-external.so.p/rygel-external-item-factory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def181]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/external/librygel-external.so.p/rygel-external-plugin-factory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def182]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/external/librygel-external.so.p/rygel-external-plugin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def183]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/external/librygel-external.so.p/rygel-external-plugin.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/external/librygel-external.so.p/rygel-external-plugin.c:50:20: warning[-Wunused-variable]: ‘rygel_external_plugin_properties’ defined but not used
# 50 | static GParamSpec* rygel_external_plugin_properties[RYGEL_EXTERNAL_PLUGIN_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 48| RYGEL_EXTERNAL_PLUGIN_NUM_PROPERTIES
# 49| };
# 50|-> static GParamSpec* rygel_external_plugin_properties[RYGEL_EXTERNAL_PLUGIN_NUM_PROPERTIES];
# 51| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 52| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def184]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/external/librygel-external.so.p/rygel-external-thumbnail-factory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def185]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/external/librygel-external.so.p/rygel-external-variant-util.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def186]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/gst-launch/librygel-gst-launch.so.p/rygel-gst-launch-audio-item.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def187]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/gst-launch/librygel-gst-launch.so.p/rygel-gst-launch-audio-item.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/gst-launch/librygel-gst-launch.so.p/rygel-gst-launch-audio-item.c:51:20: warning[-Wunused-variable]: ‘rygel_gst_launch_audio_item_properties’ defined but not used
# 51 | static GParamSpec* rygel_gst_launch_audio_item_properties[RYGEL_GST_LAUNCH_AUDIO_ITEM_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 49| RYGEL_GST_LAUNCH_AUDIO_ITEM_NUM_PROPERTIES
# 50| };
# 51|-> static GParamSpec* rygel_gst_launch_audio_item_properties[RYGEL_GST_LAUNCH_AUDIO_ITEM_NUM_PROPERTIES];
# 52| #define _g_free0(var) (var = (g_free (var), NULL))
# 53|
Error: COMPILER_WARNING (CWE-563): [#def188]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/gst-launch/librygel-gst-launch.so.p/rygel-gst-launch-plugin.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/gst-launch/librygel-gst-launch.so.p/rygel-gst-launch-plugin.c:46:20: warning[-Wunused-variable]: ‘rygel_gst_launch_plugin_properties’ defined but not used
# 46 | static GParamSpec* rygel_gst_launch_plugin_properties[RYGEL_GST_LAUNCH_PLUGIN_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 44| RYGEL_GST_LAUNCH_PLUGIN_NUM_PROPERTIES
# 45| };
# 46|-> static GParamSpec* rygel_gst_launch_plugin_properties[RYGEL_GST_LAUNCH_PLUGIN_NUM_PROPERTIES];
# 47|
# 48| static gpointer rygel_gst_launch_plugin_parent_class = NULL;
Error: COMPILER_WARNING (CWE-563): [#def189]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/gst-launch/librygel-gst-launch.so.p/rygel-gst-launch-root-container.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/gst-launch/librygel-gst-launch.so.p/rygel-gst-launch-root-container.c:50:20: warning[-Wunused-variable]: ‘rygel_gst_launch_root_container_properties’ defined but not used
# 50 | static GParamSpec* rygel_gst_launch_root_container_properties[RYGEL_GST_LAUNCH_ROOT_CONTAINER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 48| RYGEL_GST_LAUNCH_ROOT_CONTAINER_NUM_PROPERTIES
# 49| };
# 50|-> static GParamSpec* rygel_gst_launch_root_container_properties[RYGEL_GST_LAUNCH_ROOT_CONTAINER_NUM_PROPERTIES];
# 51| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 52| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def190]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/gst-launch/librygel-gst-launch.so.p/rygel-gst-launch-video-item.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def191]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/gst-launch/librygel-gst-launch.so.p/rygel-gst-launch-video-item.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/gst-launch/librygel-gst-launch.so.p/rygel-gst-launch-video-item.c:51:20: warning[-Wunused-variable]: ‘rygel_gst_launch_video_item_properties’ defined but not used
# 51 | static GParamSpec* rygel_gst_launch_video_item_properties[RYGEL_GST_LAUNCH_VIDEO_ITEM_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 49| RYGEL_GST_LAUNCH_VIDEO_ITEM_NUM_PROPERTIES
# 50| };
# 51|-> static GParamSpec* rygel_gst_launch_video_item_properties[RYGEL_GST_LAUNCH_VIDEO_ITEM_NUM_PROPERTIES];
# 52| #define _g_free0(var) (var = (g_free (var), NULL))
# 53|
Error: COMPILER_WARNING (CWE-563): [#def192]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-album.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-album.c:54:20: warning[-Wunused-variable]: ‘rygel_lms_album_properties’ defined but not used
# 54 | static GParamSpec* rygel_lms_album_properties[RYGEL_LMS_ALBUM_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~
# 52| RYGEL_LMS_ALBUM_NUM_PROPERTIES
# 53| };
# 54|-> static GParamSpec* rygel_lms_album_properties[RYGEL_LMS_ALBUM_NUM_PROPERTIES];
# 55| #define _g_free0(var) (var = (g_free (var), NULL))
# 56| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def193]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-albums.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def194]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-albums.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-albums.c:61:20: warning[-Wunused-variable]: ‘rygel_lms_albums_properties’ defined but not used
# 61 | static GParamSpec* rygel_lms_albums_properties[RYGEL_LMS_ALBUMS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 59| RYGEL_LMS_ALBUMS_NUM_PROPERTIES
# 60| };
# 61|-> static GParamSpec* rygel_lms_albums_properties[RYGEL_LMS_ALBUMS_NUM_PROPERTIES];
# 62| #define _g_free0(var) (var = (g_free (var), NULL))
# 63| #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def195]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-albums.c: scope_hint: In function ‘rygel_lms_albums_real_get_sql_all_with_filter’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-albums.c:90:26: warning[-Wunused-but-set-variable]: variable ‘self’ set but not used
# 90 | RygelLMSAlbums * self;
# | ^~~~
# 88| const gchar* filter)
# 89| {
# 90|-> RygelLMSAlbums * self;
# 91| gint _tmp0_;
# 92| gint _tmp1_;
Error: COMPILER_WARNING (CWE-563): [#def196]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-all-images.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-all-images.c:54:20: warning[-Wunused-variable]: ‘rygel_lms_all_images_properties’ defined but not used
# 54 | static GParamSpec* rygel_lms_all_images_properties[RYGEL_LMS_ALL_IMAGES_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 52| RYGEL_LMS_ALL_IMAGES_NUM_PROPERTIES
# 53| };
# 54|-> static GParamSpec* rygel_lms_all_images_properties[RYGEL_LMS_ALL_IMAGES_NUM_PROPERTIES];
# 55| #define _g_free0(var) (var = (g_free (var), NULL))
# 56| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def197]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-all-music.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-all-music.c:55:20: warning[-Wunused-variable]: ‘rygel_lms_all_music_properties’ defined but not used
# 55 | static GParamSpec* rygel_lms_all_music_properties[RYGEL_LMS_ALL_MUSIC_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 53| RYGEL_LMS_ALL_MUSIC_NUM_PROPERTIES
# 54| };
# 55|-> static GParamSpec* rygel_lms_all_music_properties[RYGEL_LMS_ALL_MUSIC_NUM_PROPERTIES];
# 56| #define _g_free0(var) (var = (g_free (var), NULL))
# 57| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def198]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-all-videos.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def199]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-all-videos.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-all-videos.c:58:20: warning[-Wunused-variable]: ‘rygel_lms_all_videos_properties’ defined but not used
# 58 | static GParamSpec* rygel_lms_all_videos_properties[RYGEL_LMS_ALL_VIDEOS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 56| RYGEL_LMS_ALL_VIDEOS_NUM_PROPERTIES
# 57| };
# 58|-> static GParamSpec* rygel_lms_all_videos_properties[RYGEL_LMS_ALL_VIDEOS_NUM_PROPERTIES];
# 59| #define _g_free0(var) (var = (g_free (var), NULL))
# 60| #define _g_date_time_unref0(var) ((var == NULL) ? NULL : (var = (g_date_time_unref (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def200]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-artist.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-artist.c:50:20: warning[-Wunused-variable]: ‘rygel_lms_artist_properties’ defined but not used
# 50 | static GParamSpec* rygel_lms_artist_properties[RYGEL_LMS_ARTIST_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 48| RYGEL_LMS_ARTIST_NUM_PROPERTIES
# 49| };
# 50|-> static GParamSpec* rygel_lms_artist_properties[RYGEL_LMS_ARTIST_NUM_PROPERTIES];
# 51| #define _g_free0(var) (var = (g_free (var), NULL))
# 52|
Error: COMPILER_WARNING (CWE-563): [#def201]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-artists.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-artists.c:50:20: warning[-Wunused-variable]: ‘rygel_lms_artists_properties’ defined but not used
# 50 | static GParamSpec* rygel_lms_artists_properties[RYGEL_LMS_ARTISTS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 48| RYGEL_LMS_ARTISTS_NUM_PROPERTIES
# 49| };
# 50|-> static GParamSpec* rygel_lms_artists_properties[RYGEL_LMS_ARTISTS_NUM_PROPERTIES];
# 51| #define _g_free0(var) (var = (g_free (var), NULL))
# 52|
Error: CPPCHECK_WARNING: [#def202]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-category-container.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def203]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-database.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def204]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-database.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-database.c:58:20: warning[-Wunused-variable]: ‘rygel_lms_database_properties’ defined but not used
# 58 | static GParamSpec* rygel_lms_database_properties[RYGEL_LMS_DATABASE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 56| RYGEL_LMS_DATABASE_NUM_PROPERTIES
# 57| };
# 58|-> static GParamSpec* rygel_lms_database_properties[RYGEL_LMS_DATABASE_NUM_PROPERTIES];
# 59| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 60| #define _g_free0(var) (var = (g_free (var), NULL))
Error: COMPILER_WARNING (CWE-563): [#def205]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-image-root.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-image-root.c:46:20: warning[-Wunused-variable]: ‘rygel_lms_image_root_properties’ defined but not used
# 46 | static GParamSpec* rygel_lms_image_root_properties[RYGEL_LMS_IMAGE_ROOT_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 44| RYGEL_LMS_IMAGE_ROOT_NUM_PROPERTIES
# 45| };
# 46|-> static GParamSpec* rygel_lms_image_root_properties[RYGEL_LMS_IMAGE_ROOT_NUM_PROPERTIES];
# 47| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 48|
Error: COMPILER_WARNING: [#def206]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-image-year.vala: scope_hint: In function ‘rygel_lms_image_year_get_sql_all’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-image-year.c:35:47: warning[-Wformat=]: unknown conversion type character ‘Y’ in format
# 35 | #define RYGEL_LMS_IMAGE_YEAR_SQL_ALL_TEMPLATE "SELECT images.id, title, artist, date, width, height, path, size, " "dlna_profile, dlna_mime, strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime = 0 AND images.id = files.id AND year = '%s' " "LIMIT ? OFFSET ?;"
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-image-year.vala:88:28: note: in expansion of macro ‘RYGEL_LMS_IMAGE_YEAR_SQL_ALL_TEMPLATE’
# 88 | return (SQL_ALL_TEMPLATE.printf (year));
# | ^~~~~~~~~~~~~~~~~~~~~
# 33| #include <glib-object.h>
# 34|
# 35|-> #define RYGEL_LMS_IMAGE_YEAR_SQL_ALL_TEMPLATE "SELECT images.id, title, artist, date, width, height, path, size, " "dlna_profile, dlna_mime, strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime = 0 AND images.id = files.id AND year = '%s' " "LIMIT ? OFFSET ?;"
# 36| #define RYGEL_LMS_IMAGE_YEAR_SQL_COUNT_TEMPLATE "SELECT count(images.id), strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime = 0 AND images.id = files.id AND year = '%s';"
# 37| #define RYGEL_LMS_IMAGE_YEAR_SQL_FIND_OBJECT_TEMPLATE "SELECT images.id, title, artist, date, width, height, path, size, " "dlna_profile, dlna_mime, strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime = 0 AND files.id = ? AND images.id = files.id AND year = '" \
Error: COMPILER_WARNING: [#def207]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-image-year.vala: scope_hint: In function ‘rygel_lms_image_year_get_sql_count’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-image-year.c:36:49: warning[-Wformat=]: unknown conversion type character ‘Y’ in format
# 36 | #define RYGEL_LMS_IMAGE_YEAR_SQL_COUNT_TEMPLATE "SELECT count(images.id), strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime = 0 AND images.id = files.id AND year = '%s';"
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-image-year.vala:94:28: note: in expansion of macro ‘RYGEL_LMS_IMAGE_YEAR_SQL_COUNT_TEMPLATE’
# 94 | return (SQL_COUNT_TEMPLATE.printf (year));
# | ^~~~~~~~~~~~~~~~~~~~~~~
# 34|
# 35| #define RYGEL_LMS_IMAGE_YEAR_SQL_ALL_TEMPLATE "SELECT images.id, title, artist, date, width, height, path, size, " "dlna_profile, dlna_mime, strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime = 0 AND images.id = files.id AND year = '%s' " "LIMIT ? OFFSET ?;"
# 36|-> #define RYGEL_LMS_IMAGE_YEAR_SQL_COUNT_TEMPLATE "SELECT count(images.id), strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime = 0 AND images.id = files.id AND year = '%s';"
# 37| #define RYGEL_LMS_IMAGE_YEAR_SQL_FIND_OBJECT_TEMPLATE "SELECT images.id, title, artist, date, width, height, path, size, " "dlna_profile, dlna_mime, strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime = 0 AND files.id = ? AND images.id = files.id AND year = '" \
# 38| "%s';"
Error: COMPILER_WARNING: [#def208]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-image-year.vala: scope_hint: In function ‘rygel_lms_image_year_get_sql_find_object’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-image-year.c:37:55: warning[-Wformat=]: unknown conversion type character ‘Y’ in format
# 37 | #define RYGEL_LMS_IMAGE_YEAR_SQL_FIND_OBJECT_TEMPLATE "SELECT images.id, title, artist, date, width, height, path, size, " "dlna_profile, dlna_mime, strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime = 0 AND files.id = ? AND images.id = files.id AND year = '" \
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-image-year.vala:91:28: note: in expansion of macro ‘RYGEL_LMS_IMAGE_YEAR_SQL_FIND_OBJECT_TEMPLATE’
# 91 | return (SQL_FIND_OBJECT_TEMPLATE.printf (year));
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 35| #define RYGEL_LMS_IMAGE_YEAR_SQL_ALL_TEMPLATE "SELECT images.id, title, artist, date, width, height, path, size, " "dlna_profile, dlna_mime, strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime = 0 AND images.id = files.id AND year = '%s' " "LIMIT ? OFFSET ?;"
# 36| #define RYGEL_LMS_IMAGE_YEAR_SQL_COUNT_TEMPLATE "SELECT count(images.id), strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime = 0 AND images.id = files.id AND year = '%s';"
# 37|-> #define RYGEL_LMS_IMAGE_YEAR_SQL_FIND_OBJECT_TEMPLATE "SELECT images.id, title, artist, date, width, height, path, size, " "dlna_profile, dlna_mime, strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime = 0 AND files.id = ? AND images.id = files.id AND year = '" \
# 38| "%s';"
# 39| #define RYGEL_LMS_IMAGE_YEAR_SQL_ADDED_TEMPLATE "SELECT images.id, title, artist, date, width, height, path, size, " "dlna_profile, dlna_mime, strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime = 0 AND images.id = files.id AND year = '%s' " "AND update_id > ? AND update_id <= ?;"
Error: COMPILER_WARNING: [#def209]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-image-year.vala: scope_hint: In function ‘rygel_lms_image_year_get_sql_added’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-image-year.c:39:49: warning[-Wformat=]: unknown conversion type character ‘Y’ in format
# 39 | #define RYGEL_LMS_IMAGE_YEAR_SQL_ADDED_TEMPLATE "SELECT images.id, title, artist, date, width, height, path, size, " "dlna_profile, dlna_mime, strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime = 0 AND images.id = files.id AND year = '%s' " "AND update_id > ? AND update_id <= ?;"
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-image-year.vala:97:28: note: in expansion of macro ‘RYGEL_LMS_IMAGE_YEAR_SQL_ADDED_TEMPLATE’
# 97 | return (SQL_ADDED_TEMPLATE.printf (year));
# | ^~~~~~~~~~~~~~~~~~~~~~~
# 37| #define RYGEL_LMS_IMAGE_YEAR_SQL_FIND_OBJECT_TEMPLATE "SELECT images.id, title, artist, date, width, height, path, size, " "dlna_profile, dlna_mime, strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime = 0 AND files.id = ? AND images.id = files.id AND year = '" \
# 38| "%s';"
# 39|-> #define RYGEL_LMS_IMAGE_YEAR_SQL_ADDED_TEMPLATE "SELECT images.id, title, artist, date, width, height, path, size, " "dlna_profile, dlna_mime, strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime = 0 AND images.id = files.id AND year = '%s' " "AND update_id > ? AND update_id <= ?;"
# 40| #define RYGEL_LMS_IMAGE_YEAR_SQL_REMOVED_TEMPLATE "SELECT images.id, title, artist, date, width, height, path, size, " "dlna_profile, dlna_mime, strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime <> 0 AND images.id = files.id AND year = '%s' " "AND update_id > ? AND update_id <= ?;"
# 41| #if !defined(VALA_STRICT_C)
Error: COMPILER_WARNING: [#def210]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-image-year.vala: scope_hint: In function ‘rygel_lms_image_year_get_sql_removed’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-image-year.c:40:51: warning[-Wformat=]: unknown conversion type character ‘Y’ in format
# 40 | #define RYGEL_LMS_IMAGE_YEAR_SQL_REMOVED_TEMPLATE "SELECT images.id, title, artist, date, width, height, path, size, " "dlna_profile, dlna_mime, strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime <> 0 AND images.id = files.id AND year = '%s' " "AND update_id > ? AND update_id <= ?;"
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-image-year.vala:100:28: note: in expansion of macro ‘RYGEL_LMS_IMAGE_YEAR_SQL_REMOVED_TEMPLATE’
# 100 | return (SQL_REMOVED_TEMPLATE.printf (year));
# | ^~~~~~~~~~~~~~~~~~~~~~~~~
# 38| "%s';"
# 39| #define RYGEL_LMS_IMAGE_YEAR_SQL_ADDED_TEMPLATE "SELECT images.id, title, artist, date, width, height, path, size, " "dlna_profile, dlna_mime, strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime = 0 AND images.id = files.id AND year = '%s' " "AND update_id > ? AND update_id <= ?;"
# 40|-> #define RYGEL_LMS_IMAGE_YEAR_SQL_REMOVED_TEMPLATE "SELECT images.id, title, artist, date, width, height, path, size, " "dlna_profile, dlna_mime, strftime('%Y', date, 'unixepoch') as year " "FROM images, files " "WHERE dtime <> 0 AND images.id = files.id AND year = '%s' " "AND update_id > ? AND update_id <= ?;"
# 41| #if !defined(VALA_STRICT_C)
# 42| #if !defined(__clang__) && defined(__GNUC__) && (__GNUC__ >= 14)
Error: COMPILER_WARNING (CWE-563): [#def211]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-image-year.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-image-year.c:54:20: warning[-Wunused-variable]: ‘rygel_lms_image_year_properties’ defined but not used
# 54 | static GParamSpec* rygel_lms_image_year_properties[RYGEL_LMS_IMAGE_YEAR_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 52| RYGEL_LMS_IMAGE_YEAR_NUM_PROPERTIES
# 53| };
# 54|-> static GParamSpec* rygel_lms_image_year_properties[RYGEL_LMS_IMAGE_YEAR_NUM_PROPERTIES];
# 55| #define _g_free0(var) (var = (g_free (var), NULL))
# 56| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def212]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-image-years.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-image-years.c:51:20: warning[-Wunused-variable]: ‘rygel_lms_image_years_properties’ defined but not used
# 51 | static GParamSpec* rygel_lms_image_years_properties[RYGEL_LMS_IMAGE_YEARS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 49| RYGEL_LMS_IMAGE_YEARS_NUM_PROPERTIES
# 50| };
# 51|-> static GParamSpec* rygel_lms_image_years_properties[RYGEL_LMS_IMAGE_YEARS_NUM_PROPERTIES];
# 52|
# 53| static gpointer rygel_lms_image_years_parent_class = NULL;
Error: COMPILER_WARNING (CWE-563): [#def213]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-music-root.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-music-root.c:47:20: warning[-Wunused-variable]: ‘rygel_lms_music_root_properties’ defined but not used
# 47 | static GParamSpec* rygel_lms_music_root_properties[RYGEL_LMS_MUSIC_ROOT_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 45| RYGEL_LMS_MUSIC_ROOT_NUM_PROPERTIES
# 46| };
# 47|-> static GParamSpec* rygel_lms_music_root_properties[RYGEL_LMS_MUSIC_ROOT_NUM_PROPERTIES];
# 48| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 49|
Error: COMPILER_WARNING (CWE-563): [#def214]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-plugin.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-plugin.c:45:20: warning[-Wunused-variable]: ‘rygel_lms_plugin_properties’ defined but not used
# 45 | static GParamSpec* rygel_lms_plugin_properties[RYGEL_LMS_PLUGIN_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 43| RYGEL_LMS_PLUGIN_NUM_PROPERTIES
# 44| };
# 45|-> static GParamSpec* rygel_lms_plugin_properties[RYGEL_LMS_PLUGIN_NUM_PROPERTIES];
# 46| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 47|
Error: COMPILER_WARNING (CWE-563): [#def215]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-root-container.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-root-container.c:48:20: warning[-Wunused-variable]: ‘rygel_lms_root_container_properties’ defined but not used
# 48 | static GParamSpec* rygel_lms_root_container_properties[RYGEL_LMS_ROOT_CONTAINER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 46| RYGEL_LMS_ROOT_CONTAINER_NUM_PROPERTIES
# 47| };
# 48|-> static GParamSpec* rygel_lms_root_container_properties[RYGEL_LMS_ROOT_CONTAINER_NUM_PROPERTIES];
# 49| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 50| #define _g_free0(var) (var = (g_free (var), NULL))
Error: COMPILER_WARNING (CWE-563): [#def216]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-dummy-container.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-dummy-container.c:56:20: warning[-Wunused-variable]: ‘rygel_media_export_dummy_container_properties’ defined but not used
# 56 | static GParamSpec* rygel_media_export_dummy_container_properties[RYGEL_MEDIA_EXPORT_DUMMY_CONTAINER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 54| RYGEL_MEDIA_EXPORT_DUMMY_CONTAINER_NUM_PROPERTIES
# 55| };
# 56|-> static GParamSpec* rygel_media_export_dummy_container_properties[RYGEL_MEDIA_EXPORT_DUMMY_CONTAINER_NUM_PROPERTIES];
# 57| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 58| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def217]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-dvd-container.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def218]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-dvd-track.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def219]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-harvester.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def220]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-harvesting-task.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def221]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-item-factory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def222]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-leaf-query-container.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def223]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-leaf-query-container.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-leaf-query-container.c:70:20: warning[-Wunused-variable]: ‘rygel_media_export_leaf_query_container_properties’ defined but not used
# 70 | static GParamSpec* rygel_media_export_leaf_query_container_properties[RYGEL_MEDIA_EXPORT_LEAF_QUERY_CONTAINER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 68| RYGEL_MEDIA_EXPORT_LEAF_QUERY_CONTAINER_NUM_PROPERTIES
# 69| };
# 70|-> static GParamSpec* rygel_media_export_leaf_query_container_properties[RYGEL_MEDIA_EXPORT_LEAF_QUERY_CONTAINER_NUM_PROPERTIES];
# 71| #define _g_free0(var) (var = (g_free (var), NULL))
# 72| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def224]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-media-cache.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def225]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-media-cache.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-media-cache.c:88:20: warning[-Wunused-variable]: ‘rygel_media_export_media_cache_properties’ defined but not used
# 88 | static GParamSpec* rygel_media_export_media_cache_properties[RYGEL_MEDIA_EXPORT_MEDIA_CACHE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 86| RYGEL_MEDIA_EXPORT_MEDIA_CACHE_NUM_PROPERTIES
# 87| };
# 88|-> static GParamSpec* rygel_media_export_media_cache_properties[RYGEL_MEDIA_EXPORT_MEDIA_CACHE_NUM_PROPERTIES];
# 89| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 90| typedef enum {
Error: CPPCHECK_WARNING: [#def226]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-metadata-extractor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def227]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-metadata-extractor.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-metadata-extractor.c:54:20: warning[-Wunused-variable]: ‘rygel_media_export_metadata_extractor_properties’ defined but not used
# 54 | static GParamSpec* rygel_media_export_metadata_extractor_properties[RYGEL_MEDIA_EXPORT_METADATA_EXTRACTOR_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 52| RYGEL_MEDIA_EXPORT_METADATA_EXTRACTOR_NUM_PROPERTIES
# 53| };
# 54|-> static GParamSpec* rygel_media_export_metadata_extractor_properties[RYGEL_MEDIA_EXPORT_METADATA_EXTRACTOR_NUM_PROPERTIES];
# 55| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 56| #define _g_free0(var) (var = (g_free (var), NULL))
Error: COMPILER_WARNING (CWE-563): [#def228]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-music-item.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-music-item.c:57:20: warning[-Wunused-variable]: ‘rygel_media_export_music_item_properties’ defined but not used
# 57 | static GParamSpec* rygel_media_export_music_item_properties[RYGEL_MEDIA_EXPORT_MUSIC_ITEM_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 55| RYGEL_MEDIA_EXPORT_MUSIC_ITEM_NUM_PROPERTIES
# 56| };
# 57|-> static GParamSpec* rygel_media_export_music_item_properties[RYGEL_MEDIA_EXPORT_MUSIC_ITEM_NUM_PROPERTIES];
# 58| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 59| typedef struct _RygelMediaExportMusicItemCommitData RygelMediaExportMusicItemCommitData;
Error: CPPCHECK_WARNING: [#def229]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-node-query-container.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def230]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-null-container.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-null-container.c:55:20: warning[-Wunused-variable]: ‘rygel_null_container_properties’ defined but not used
# 55 | static GParamSpec* rygel_null_container_properties[RYGEL_NULL_CONTAINER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 53| RYGEL_NULL_CONTAINER_NUM_PROPERTIES
# 54| };
# 55|-> static GParamSpec* rygel_null_container_properties[RYGEL_NULL_CONTAINER_NUM_PROPERTIES];
# 56| #define _g_free0(var) (var = (g_free (var), NULL))
# 57| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def231]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-object-factory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def232]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-object-factory.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-object-factory.c:61:20: warning[-Wunused-variable]: ‘rygel_media_export_object_factory_properties’ defined but not used
# 61 | static GParamSpec* rygel_media_export_object_factory_properties[RYGEL_MEDIA_EXPORT_OBJECT_FACTORY_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 59| RYGEL_MEDIA_EXPORT_OBJECT_FACTORY_NUM_PROPERTIES
# 60| };
# 61|-> static GParamSpec* rygel_media_export_object_factory_properties[RYGEL_MEDIA_EXPORT_OBJECT_FACTORY_NUM_PROPERTIES];
# 62| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 63|
Error: COMPILER_WARNING (CWE-563): [#def233]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-photo-item.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-photo-item.c:57:20: warning[-Wunused-variable]: ‘rygel_media_export_photo_item_properties’ defined but not used
# 57 | static GParamSpec* rygel_media_export_photo_item_properties[RYGEL_MEDIA_EXPORT_PHOTO_ITEM_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 55| RYGEL_MEDIA_EXPORT_PHOTO_ITEM_NUM_PROPERTIES
# 56| };
# 57|-> static GParamSpec* rygel_media_export_photo_item_properties[RYGEL_MEDIA_EXPORT_PHOTO_ITEM_NUM_PROPERTIES];
# 58| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 59| typedef struct _RygelMediaExportPhotoItemCommitData RygelMediaExportPhotoItemCommitData;
Error: COMPILER_WARNING (CWE-563): [#def234]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-playlist-item.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-playlist-item.c:57:20: warning[-Wunused-variable]: ‘rygel_media_export_playlist_item_properties’ defined but not used
# 57 | static GParamSpec* rygel_media_export_playlist_item_properties[RYGEL_MEDIA_EXPORT_PLAYLIST_ITEM_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 55| RYGEL_MEDIA_EXPORT_PLAYLIST_ITEM_NUM_PROPERTIES
# 56| };
# 57|-> static GParamSpec* rygel_media_export_playlist_item_properties[RYGEL_MEDIA_EXPORT_PLAYLIST_ITEM_NUM_PROPERTIES];
# 58| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 59| typedef struct _RygelMediaExportPlaylistItemCommitData RygelMediaExportPlaylistItemCommitData;
Error: CPPCHECK_WARNING: [#def235]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-plugin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def236]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-plugin.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-plugin.c:54:20: warning[-Wunused-variable]: ‘rygel_media_export_plugin_properties’ defined but not used
# 54 | static GParamSpec* rygel_media_export_plugin_properties[RYGEL_MEDIA_EXPORT_PLUGIN_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 52| RYGEL_MEDIA_EXPORT_PLUGIN_NUM_PROPERTIES
# 53| };
# 54|-> static GParamSpec* rygel_media_export_plugin_properties[RYGEL_MEDIA_EXPORT_PLUGIN_NUM_PROPERTIES];
# 55|
# 56| struct _Block1Data {
Error: CPPCHECK_WARNING: [#def237]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-query-container-factory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def238]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-query-container-factory.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-query-container-factory.c:57:20: warning[-Wunused-variable]: ‘rygel_media_export_query_container_factory_properties’ defined but not used
# 57 | static GParamSpec* rygel_media_export_query_container_factory_properties[RYGEL_MEDIA_EXPORT_QUERY_CONTAINER_FACTORY_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 55| RYGEL_MEDIA_EXPORT_QUERY_CONTAINER_FACTORY_NUM_PROPERTIES
# 56| };
# 57|-> static GParamSpec* rygel_media_export_query_container_factory_properties[RYGEL_MEDIA_EXPORT_QUERY_CONTAINER_FACTORY_NUM_PROPERTIES];
# 58| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 59| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def239]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-recursive-file-monitor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def240]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-recursive-file-monitor.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-recursive-file-monitor.c:47:20: warning[-Wunused-variable]: ‘rygel_media_export_recursive_file_monitor_properties’ defined but not used
# 47 | static GParamSpec* rygel_media_export_recursive_file_monitor_properties[RYGEL_MEDIA_EXPORT_RECURSIVE_FILE_MONITOR_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 45| RYGEL_MEDIA_EXPORT_RECURSIVE_FILE_MONITOR_NUM_PROPERTIES
# 46| };
# 47|-> static GParamSpec* rygel_media_export_recursive_file_monitor_properties[RYGEL_MEDIA_EXPORT_RECURSIVE_FILE_MONITOR_NUM_PROPERTIES];
# 48| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 49| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def241]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-root-container.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def242]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-root-container.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-root-container.c:70:20: warning[-Wunused-variable]: ‘rygel_media_export_root_container_properties’ defined but not used
# 70 | static GParamSpec* rygel_media_export_root_container_properties[RYGEL_MEDIA_EXPORT_ROOT_CONTAINER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 68| RYGEL_MEDIA_EXPORT_ROOT_CONTAINER_NUM_PROPERTIES
# 69| };
# 70|-> static GParamSpec* rygel_media_export_root_container_properties[RYGEL_MEDIA_EXPORT_ROOT_CONTAINER_NUM_PROPERTIES];
# 71| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 72|
Error: COMPILER_WARNING (CWE-563): [#def243]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-sql-factory.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-sql-factory.c:159:20: warning[-Wunused-variable]: ‘rygel_media_export_sql_factory_properties’ defined but not used
# 159 | static GParamSpec* rygel_media_export_sql_factory_properties[RYGEL_MEDIA_EXPORT_SQL_FACTORY_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 157| RYGEL_MEDIA_EXPORT_SQL_FACTORY_NUM_PROPERTIES
# 158| };
# 159|-> static GParamSpec* rygel_media_export_sql_factory_properties[RYGEL_MEDIA_EXPORT_SQL_FACTORY_NUM_PROPERTIES];
# 160|
# 161| struct _RygelMediaExportSQLFactory {
Error: CPPCHECK_WARNING: [#def244]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-trackable-db-container.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def245]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-trackable-db-container.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-trackable-db-container.c:48:20: warning[-Wunused-variable]: ‘rygel_media_export_trackable_db_container_properties’ defined but not used
# 48 | static GParamSpec* rygel_media_export_trackable_db_container_properties[RYGEL_MEDIA_EXPORT_TRACKABLE_DB_CONTAINER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 46| RYGEL_MEDIA_EXPORT_TRACKABLE_DB_CONTAINER_NUM_PROPERTIES
# 47| };
# 48|-> static GParamSpec* rygel_media_export_trackable_db_container_properties[RYGEL_MEDIA_EXPORT_TRACKABLE_DB_CONTAINER_NUM_PROPERTIES];
# 49| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 50| #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def246]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-video-item.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-video-item.c:57:20: warning[-Wunused-variable]: ‘rygel_media_export_video_item_properties’ defined but not used
# 57 | static GParamSpec* rygel_media_export_video_item_properties[RYGEL_MEDIA_EXPORT_VIDEO_ITEM_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 55| RYGEL_MEDIA_EXPORT_VIDEO_ITEM_NUM_PROPERTIES
# 56| };
# 57|-> static GParamSpec* rygel_media_export_video_item_properties[RYGEL_MEDIA_EXPORT_VIDEO_ITEM_NUM_PROPERTIES];
# 58| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 59| typedef struct _RygelMediaExportVideoItemCommitData RygelMediaExportVideoItemCommitData;
Error: COMPILER_WARNING (CWE-563): [#def247]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/mx-extract.p/rygel-media-export-dvd-parser.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/mx-extract.p/rygel-media-export-dvd-parser.c:88:20: warning[-Wunused-variable]: ‘rygel_media_export_dvd_parser_properties’ defined but not used
# 88 | static GParamSpec* rygel_media_export_dvd_parser_properties[RYGEL_MEDIA_EXPORT_DVD_PARSER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 86| RYGEL_MEDIA_EXPORT_DVD_PARSER_NUM_PROPERTIES
# 87| };
# 88|-> static GParamSpec* rygel_media_export_dvd_parser_properties[RYGEL_MEDIA_EXPORT_DVD_PARSER_NUM_PROPERTIES];
# 89| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 90| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def248]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/mx-extract.p/rygel-media-export-extract.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def249]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/mx-extract.p/rygel-media-export-extract.c: scope_hint: In function ‘run_finish’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/mx-extract.p/rygel-media-export-extract.c:284:18: warning[-Wunused-but-set-variable]: variable ‘_data_’ set but not used
# 284 | RunData* _data_;
# | ^~~~~~
# 282| run_finish (GAsyncResult* _res_)
# 283| {
# 284|-> RunData* _data_;
# 285| _data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
# 286| }
Error: CLANG_WARNING: [#def250]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/mx-extract.p/rygel-media-export-extract.c:285:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 283| {
# 284| RunData* _data_;
# 285|-> _data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
# 286| }
# 287|
Error: CPPCHECK_WARNING: [#def251]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/mx-extract.p/rygel-media-export-extractor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def252]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/mx-extract.p/rygel-media-export-generic-extractor.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def253]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/mx-extract.p/rygel-media-export-generic-extractor.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/mx-extract.p/rygel-media-export-generic-extractor.c:86:20: warning[-Wunused-variable]: ‘rygel_media_export_generic_extractor_properties’ defined but not used
# 86 | static GParamSpec* rygel_media_export_generic_extractor_properties[RYGEL_MEDIA_EXPORT_GENERIC_EXTRACTOR_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 84| RYGEL_MEDIA_EXPORT_GENERIC_EXTRACTOR_NUM_PROPERTIES
# 85| };
# 86|-> static GParamSpec* rygel_media_export_generic_extractor_properties[RYGEL_MEDIA_EXPORT_GENERIC_EXTRACTOR_NUM_PROPERTIES];
# 87| #define _g_free0(var) (var = (g_free (var), NULL))
# 88| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def254]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/mx-extract.p/rygel-media-export-image-extractor.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/mx-extract.p/rygel-media-export-image-extractor.c:78:20: warning[-Wunused-variable]: ‘rygel_media_export_image_extractor_properties’ defined but not used
# 78 | static GParamSpec* rygel_media_export_image_extractor_properties[RYGEL_MEDIA_EXPORT_IMAGE_EXTRACTOR_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 76| RYGEL_MEDIA_EXPORT_IMAGE_EXTRACTOR_NUM_PROPERTIES
# 77| };
# 78|-> static GParamSpec* rygel_media_export_image_extractor_properties[RYGEL_MEDIA_EXPORT_IMAGE_EXTRACTOR_NUM_PROPERTIES];
# 79| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 80| #define _g_free0(var) (var = (g_free (var), NULL))
Error: COMPILER_WARNING (CWE-563): [#def255]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/mx-extract.p/rygel-media-export-playlist-extractor.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/mx-extract.p/rygel-media-export-playlist-extractor.c:54:20: warning[-Wunused-variable]: ‘rygel_media_export_playlist_extractor_properties’ defined but not used
# 54 | static GParamSpec* rygel_media_export_playlist_extractor_properties[RYGEL_MEDIA_EXPORT_PLAYLIST_EXTRACTOR_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 52| RYGEL_MEDIA_EXPORT_PLAYLIST_EXTRACTOR_NUM_PROPERTIES
# 53| };
# 54|-> static GParamSpec* rygel_media_export_playlist_extractor_properties[RYGEL_MEDIA_EXPORT_PLAYLIST_EXTRACTOR_NUM_PROPERTIES];
# 55| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 56|
Error: CPPCHECK_WARNING: [#def256]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/mpris/librygel-mpris.so.p/rygel-mpris-interfaces.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def257]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/mpris/librygel-mpris.so.p/rygel-mpris-player.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def258]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/mpris/librygel-mpris.so.p/rygel-mpris-plugin-factory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def259]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/mpris/librygel-mpris.so.p/rygel-mpris-plugin.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def260]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/mpris/librygel-mpris.so.p/rygel-mpris-plugin.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/mpris/librygel-mpris.so.p/rygel-mpris-plugin.c:50:20: warning[-Wunused-variable]: ‘rygel_mpris_plugin_properties’ defined but not used
# 50 | static GParamSpec* rygel_mpris_plugin_properties[RYGEL_MPRIS_PLUGIN_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 48| RYGEL_MPRIS_PLUGIN_NUM_PROPERTIES
# 49| };
# 50|-> static GParamSpec* rygel_mpris_plugin_properties[RYGEL_MPRIS_PLUGIN_NUM_PROPERTIES];
# 51| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 52| #define _g_free0(var) (var = (g_free (var), NULL))
Error: COMPILER_WARNING (CWE-563): [#def261]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/playbin/librygel-playbin.so.p/rygel-playbin-module.c: scope_hint: In function ‘module_init’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/playbin/librygel-playbin.so.p/rygel-playbin-module.c:66:14: warning[-Wunused-but-set-variable]: variable ‘_args_size_’ set but not used
# 66 | gint _args_size_;
# | ^~~~~~~~~~~
# 64| gchar** args = NULL;
# 65| gint args_length1;
# 66|-> gint _args_size_;
# 67| GError* _inner_error0_ = NULL;
# 68| #line 26 "../src/plugins/playbin/rygel-playbin-module.vala"
Error: COMPILER_WARNING (CWE-563): [#def262]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/playbin/librygel-playbin.so.p/rygel-playbin-plugin.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/playbin/librygel-playbin.so.p/rygel-playbin-plugin.c:65:20: warning[-Wunused-variable]: ‘rygel_playbin_plugin_properties’ defined but not used
# 65 | static GParamSpec* rygel_playbin_plugin_properties[RYGEL_PLAYBIN_PLUGIN_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 63| RYGEL_PLAYBIN_PLUGIN_NUM_PROPERTIES
# 64| };
# 65|-> static GParamSpec* rygel_playbin_plugin_properties[RYGEL_PLAYBIN_PLUGIN_NUM_PROPERTIES];
# 66| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 67|
Error: COMPILER_WARNING (CWE-563): [#def263]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/ruih/librygel-ruih.so.p/rygel-ruih-plugin.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/ruih/librygel-ruih.so.p/rygel-ruih-plugin.c:60:20: warning[-Wunused-variable]: ‘rygel_ruih_plugin_properties’ defined but not used
# 60 | static GParamSpec* rygel_ruih_plugin_properties[RYGEL_RUIH_PLUGIN_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 58| RYGEL_RUIH_PLUGIN_NUM_PROPERTIES
# 59| };
# 60|-> static GParamSpec* rygel_ruih_plugin_properties[RYGEL_RUIH_PLUGIN_NUM_PROPERTIES];
# 61| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 62| #define _g_free0(var) (var = (g_free (var), NULL))
Error: COMPILER_WARNING (CWE-563): [#def264]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-albums.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-albums.c:48:20: warning[-Wunused-variable]: ‘rygel_tracker_albums_properties’ defined but not used
# 48 | static GParamSpec* rygel_tracker_albums_properties[RYGEL_TRACKER_ALBUMS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 46| RYGEL_TRACKER_ALBUMS_NUM_PROPERTIES
# 47| };
# 48|-> static GParamSpec* rygel_tracker_albums_properties[RYGEL_TRACKER_ALBUMS_NUM_PROPERTIES];
# 49| #define _g_free0(var) (var = (g_free (var), NULL))
# 50|
Error: COMPILER_WARNING (CWE-563): [#def265]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-artists.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-artists.c:48:20: warning[-Wunused-variable]: ‘rygel_tracker_artists_properties’ defined but not used
# 48 | static GParamSpec* rygel_tracker_artists_properties[RYGEL_TRACKER_ARTISTS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 46| RYGEL_TRACKER_ARTISTS_NUM_PROPERTIES
# 47| };
# 48|-> static GParamSpec* rygel_tracker_artists_properties[RYGEL_TRACKER_ARTISTS_NUM_PROPERTIES];
# 49| #define _g_free0(var) (var = (g_free (var), NULL))
# 50|
Error: CPPCHECK_WARNING: [#def266]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-category-all-container.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def267]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-category-container.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def268]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-category-container.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-category-container.c:49:20: warning[-Wunused-variable]: ‘rygel_tracker_category_container_properties’ defined but not used
# 49 | static GParamSpec* rygel_tracker_category_container_properties[RYGEL_TRACKER_CATEGORY_CONTAINER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 47| RYGEL_TRACKER_CATEGORY_CONTAINER_NUM_PROPERTIES
# 48| };
# 49|-> static GParamSpec* rygel_tracker_category_container_properties[RYGEL_TRACKER_CATEGORY_CONTAINER_NUM_PROPERTIES];
# 50| #define _rygel_tracker_item_factory_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_item_factory_unref (var), NULL)))
# 51| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def269]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-genre.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-genre.c:48:20: warning[-Wunused-variable]: ‘rygel_tracker_genre_properties’ defined but not used
# 48 | static GParamSpec* rygel_tracker_genre_properties[RYGEL_TRACKER_GENRE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 46| RYGEL_TRACKER_GENRE_NUM_PROPERTIES
# 47| };
# 48|-> static GParamSpec* rygel_tracker_genre_properties[RYGEL_TRACKER_GENRE_NUM_PROPERTIES];
# 49| #define _g_free0(var) (var = (g_free (var), NULL))
# 50|
Error: CPPCHECK_WARNING: [#def270]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-insertion-query.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def271]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-interfaces.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def272]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-item-factory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def273]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-metadata-container.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-metadata-container.c:52:20: warning[-Wunused-variable]: ‘rygel_tracker_metadata_container_properties’ defined but not used
# 52 | static GParamSpec* rygel_tracker_metadata_container_properties[RYGEL_TRACKER_METADATA_CONTAINER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 50| RYGEL_TRACKER_METADATA_CONTAINER_NUM_PROPERTIES
# 51| };
# 52|-> static GParamSpec* rygel_tracker_metadata_container_properties[RYGEL_TRACKER_METADATA_CONTAINER_NUM_PROPERTIES];
# 53| #define _rygel_tracker_item_factory_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_item_factory_unref (var), NULL)))
# 54| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def274]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-metadata-multivalues.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def275]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-metadata-multivalues.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-metadata-multivalues.c:51:20: warning[-Wunused-variable]: ‘rygel_tracker_metadata_multi_values_properties’ defined but not used
# 51 | static GParamSpec* rygel_tracker_metadata_multi_values_properties[RYGEL_TRACKER_METADATA_MULTI_VALUES_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 49| RYGEL_TRACKER_METADATA_MULTI_VALUES_NUM_PROPERTIES
# 50| };
# 51|-> static GParamSpec* rygel_tracker_metadata_multi_values_properties[RYGEL_TRACKER_METADATA_MULTI_VALUES_NUM_PROPERTIES];
# 52| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 53| #define _rygel_tracker_query_triplet_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_query_triplet_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def276]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-metadata-values.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def277]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-metadata-values.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-metadata-values.c:50:20: warning[-Wunused-variable]: ‘rygel_tracker_metadata_values_properties’ defined but not used
# 50 | static GParamSpec* rygel_tracker_metadata_values_properties[RYGEL_TRACKER_METADATA_VALUES_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 48| RYGEL_TRACKER_METADATA_VALUES_NUM_PROPERTIES
# 49| };
# 50|-> static GParamSpec* rygel_tracker_metadata_values_properties[RYGEL_TRACKER_METADATA_VALUES_NUM_PROPERTIES];
# 51| #define _g_free0(var) (var = (g_free (var), NULL))
# 52| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def278]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-music-item-factory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def279]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-music.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-music.c:48:20: warning[-Wunused-variable]: ‘rygel_tracker_music_properties’ defined but not used
# 48 | static GParamSpec* rygel_tracker_music_properties[RYGEL_TRACKER_MUSIC_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 46| RYGEL_TRACKER_MUSIC_NUM_PROPERTIES
# 47| };
# 48|-> static GParamSpec* rygel_tracker_music_properties[RYGEL_TRACKER_MUSIC_NUM_PROPERTIES];
# 49| #define _rygel_tracker_item_factory_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_item_factory_unref (var), NULL)))
# 50| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def280]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-new.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-new.c:50:20: warning[-Wunused-variable]: ‘rygel_tracker_new_properties’ defined but not used
# 50 | static GParamSpec* rygel_tracker_new_properties[RYGEL_TRACKER_NEW_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 48| RYGEL_TRACKER_NEW_NUM_PROPERTIES
# 49| };
# 50|-> static GParamSpec* rygel_tracker_new_properties[RYGEL_TRACKER_NEW_NUM_PROPERTIES];
# 51| #define _rygel_tracker_query_triplet_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_query_triplet_unref (var), NULL)))
# 52| #define _g_date_time_unref0(var) ((var == NULL) ? NULL : (var = (g_date_time_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def281]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-picture-item-factory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def282]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-pictures.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-pictures.c:48:20: warning[-Wunused-variable]: ‘rygel_tracker_pictures_properties’ defined but not used
# 48 | static GParamSpec* rygel_tracker_pictures_properties[RYGEL_TRACKER_PICTURES_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 46| RYGEL_TRACKER_PICTURES_NUM_PROPERTIES
# 47| };
# 48|-> static GParamSpec* rygel_tracker_pictures_properties[RYGEL_TRACKER_PICTURES_NUM_PROPERTIES];
# 49| #define _rygel_tracker_item_factory_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_item_factory_unref (var), NULL)))
# 50| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def283]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-plugin.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-plugin.c:46:20: warning[-Wunused-variable]: ‘rygel_tracker_plugin_properties’ defined but not used
# 46 | static GParamSpec* rygel_tracker_plugin_properties[RYGEL_TRACKER_PLUGIN_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 44| RYGEL_TRACKER_PLUGIN_NUM_PROPERTIES
# 45| };
# 46|-> static GParamSpec* rygel_tracker_plugin_properties[RYGEL_TRACKER_PLUGIN_NUM_PROPERTIES];
# 47| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 48|
Error: CPPCHECK_WARNING: [#def284]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-query-triplet.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def285]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-query-triplets.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def286]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-query-triplets.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-query-triplets.c:46:20: warning[-Wunused-variable]: ‘rygel_tracker_query_triplets_properties’ defined but not used
# 46 | static GParamSpec* rygel_tracker_query_triplets_properties[RYGEL_TRACKER_QUERY_TRIPLETS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 44| RYGEL_TRACKER_QUERY_TRIPLETS_NUM_PROPERTIES
# 45| };
# 46|-> static GParamSpec* rygel_tracker_query_triplets_properties[RYGEL_TRACKER_QUERY_TRIPLETS_NUM_PROPERTIES];
# 47| #define _rygel_tracker_query_triplet_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_query_triplet_unref (var), NULL)))
# 48| #define _g_free0(var) (var = (g_free (var), NULL))
Error: COMPILER_WARNING (CWE-563): [#def287]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-root-container.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-root-container.c:51:20: warning[-Wunused-variable]: ‘rygel_tracker_root_container_properties’ defined but not used
# 51 | static GParamSpec* rygel_tracker_root_container_properties[RYGEL_TRACKER_ROOT_CONTAINER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 49| RYGEL_TRACKER_ROOT_CONTAINER_NUM_PROPERTIES
# 50| };
# 51|-> static GParamSpec* rygel_tracker_root_container_properties[RYGEL_TRACKER_ROOT_CONTAINER_NUM_PROPERTIES];
# 52| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 53|
Error: CPPCHECK_WARNING: [#def288]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-search-container.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def289]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-search-container.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-search-container.c:56:20: warning[-Wunused-variable]: ‘rygel_tracker_search_container_properties’ defined but not used
# 56 | static GParamSpec* rygel_tracker_search_container_properties[RYGEL_TRACKER_SEARCH_CONTAINER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 54| RYGEL_TRACKER_SEARCH_CONTAINER_NUM_PROPERTIES
# 55| };
# 56|-> static GParamSpec* rygel_tracker_search_container_properties[RYGEL_TRACKER_SEARCH_CONTAINER_NUM_PROPERTIES];
# 57| #define _rygel_tracker_query_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_query_unref (var), NULL)))
# 58| #define _rygel_tracker_item_factory_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_item_factory_unref (var), NULL)))
Error: CLANG_WARNING: [#def290]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-search-container.c:59:32: note: expanded from macro '_g_object_unref0'
# 57| #define _rygel_tracker_query_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_query_unref (var), NULL)))
# 58| #define _rygel_tracker_item_factory_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_item_factory_unref (var), NULL)))
# 59|-> #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 60| #define _rygel_tracker_query_triplet_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_query_triplet_unref (var), NULL)))
# 61| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CLANG_WARNING: [#def291]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-search-container.c:59:33: note: expanded from macro '_g_object_unref0'
# 57| #define _rygel_tracker_query_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_query_unref (var), NULL)))
# 58| #define _rygel_tracker_item_factory_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_item_factory_unref (var), NULL)))
# 59|-> #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 60| #define _rygel_tracker_query_triplet_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_query_triplet_unref (var), NULL)))
# 61| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CLANG_WARNING: [#def292]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-search-container.c:62:47: note: expanded from macro '_rygel_search_expression_unref0'
# 60| #define _rygel_tracker_query_triplet_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_query_triplet_unref (var), NULL)))
# 61| #define _g_free0(var) (var = (g_free (var), NULL))
# 62|-> #define _rygel_search_expression_unref0(var) ((var == NULL) ? NULL : (var = (rygel_search_expression_unref (var), NULL)))
# 63| typedef struct _RygelTrackerSearchContainerGetChildrenData RygelTrackerSearchContainerGetChildrenData;
# 64| typedef struct _RygelTrackerSearchContainerExecuteQueryData RygelTrackerSearchContainerExecuteQueryData;
Error: CLANG_WARNING: [#def293]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-search-container.c:62:48: note: expanded from macro '_rygel_search_expression_unref0'
# 60| #define _rygel_tracker_query_triplet_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_query_triplet_unref (var), NULL)))
# 61| #define _g_free0(var) (var = (g_free (var), NULL))
# 62|-> #define _rygel_search_expression_unref0(var) ((var == NULL) ? NULL : (var = (rygel_search_expression_unref (var), NULL)))
# 63| typedef struct _RygelTrackerSearchContainerGetChildrenData RygelTrackerSearchContainerGetChildrenData;
# 64| typedef struct _RygelTrackerSearchContainerExecuteQueryData RygelTrackerSearchContainerExecuteQueryData;
Error: CPPCHECK_WARNING: [#def294]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-selection-query.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def295]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-tags.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-tags.c:48:20: warning[-Wunused-variable]: ‘rygel_tracker_tags_properties’ defined but not used
# 48 | static GParamSpec* rygel_tracker_tags_properties[RYGEL_TRACKER_TAGS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 46| RYGEL_TRACKER_TAGS_NUM_PROPERTIES
# 47| };
# 48|-> static GParamSpec* rygel_tracker_tags_properties[RYGEL_TRACKER_TAGS_NUM_PROPERTIES];
# 49| #define _g_free0(var) (var = (g_free (var), NULL))
# 50|
Error: COMPILER_WARNING (CWE-563): [#def296]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-titles.c:48:20: warning[-Wunused-variable]: ‘rygel_tracker_titles_properties’ defined but not used
# 48 | static GParamSpec* rygel_tracker_titles_properties[RYGEL_TRACKER_TITLES_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 46| RYGEL_TRACKER_TITLES_NUM_PROPERTIES
# 47| };
# 48|-> static GParamSpec* rygel_tracker_titles_properties[RYGEL_TRACKER_TITLES_NUM_PROPERTIES];
# 49| #define _g_free0(var) (var = (g_free (var), NULL))
# 50|
Error: COMPILER_WARNING (CWE-563): [#def297]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-titles.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-titles.c:60:21: warning[-Wunused-variable]: ‘RYGEL_TRACKER_TITLES_KEY_CHAIN’ defined but not used
# 60 | static const gchar* RYGEL_TRACKER_TITLES_KEY_CHAIN[2] = {"dc:title", NULL};
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 58| static GType rygel_tracker_titles_get_type_once (void);
# 59|
# 60|-> static const gchar* RYGEL_TRACKER_TITLES_KEY_CHAIN[2] = {"dc:title", NULL};
# 61|
# 62| RygelTrackerTitles*
Error: COMPILER_WARNING (CWE-563): [#def298]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-upnp-property-map.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-upnp-property-map.c:61:20: warning[-Wunused-variable]: ‘rygel_tracker_upn_pproperty_map_properties’ defined but not used
# 61 | static GParamSpec* rygel_tracker_upn_pproperty_map_properties[RYGEL_TRACKER_UPN_PPROPERTY_MAP_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 59| RYGEL_TRACKER_UPN_PPROPERTY_MAP_NUM_PROPERTIES
# 60| };
# 61|-> static GParamSpec* rygel_tracker_upn_pproperty_map_properties[RYGEL_TRACKER_UPN_PPROPERTY_MAP_NUM_PROPERTIES];
# 62| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 63| #define _rygel_tracker_query_variable_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_query_variable_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def299]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-video-item-factory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def300]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-videos.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-videos.c:48:20: warning[-Wunused-variable]: ‘rygel_tracker_videos_properties’ defined but not used
# 48 | static GParamSpec* rygel_tracker_videos_properties[RYGEL_TRACKER_VIDEOS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 46| RYGEL_TRACKER_VIDEOS_NUM_PROPERTIES
# 47| };
# 48|-> static GParamSpec* rygel_tracker_videos_properties[RYGEL_TRACKER_VIDEOS_NUM_PROPERTIES];
# 49| #define _rygel_tracker_item_factory_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_item_factory_unref (var), NULL)))
# 50| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def301]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-years.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def302]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-years.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-years.c:48:20: warning[-Wunused-variable]: ‘rygel_tracker_years_properties’ defined but not used
# 48 | static GParamSpec* rygel_tracker_years_properties[RYGEL_TRACKER_YEARS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 46| RYGEL_TRACKER_YEARS_NUM_PROPERTIES
# 47| };
# 48|-> static GParamSpec* rygel_tracker_years_properties[RYGEL_TRACKER_YEARS_NUM_PROPERTIES];
# 49| #define _g_free0(var) (var = (g_free (var), NULL))
# 50|
Error: CPPCHECK_WARNING: [#def303]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/rygel/rygel.p/application.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def304]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/rygel/rygel.p/application.c:78:20: warning[-Wunused-variable]: ‘rygel_application_properties’ defined but not used
# 78 | static GParamSpec* rygel_application_properties[RYGEL_APPLICATION_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 76| RYGEL_APPLICATION_NUM_PROPERTIES
# 77| };
# 78|-> static GParamSpec* rygel_application_properties[RYGEL_APPLICATION_NUM_PROPERTIES];
# 79| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 80| #define _g_variant_dict_unref0(var) ((var == NULL) ? NULL : (var = (g_variant_dict_unref (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def305]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/rygel/rygel.p/rygel-acl.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/rygel/rygel.p/rygel-acl.c:67:20: warning[-Wunused-variable]: ‘rygel_acl_properties’ defined but not used
# 67 | static GParamSpec* rygel_acl_properties[RYGEL_ACL_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~
# 65| RYGEL_ACL_NUM_PROPERTIES
# 66| };
# 67|-> static GParamSpec* rygel_acl_properties[RYGEL_ACL_NUM_PROPERTIES];
# 68| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 69| #define _g_free0(var) (var = (g_free (var), NULL))
Error: COMPILER_WARNING (CWE-563): [#def306]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/rygel/rygel.p/rygel-dbus-service.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/rygel/rygel.p/rygel-dbus-service.c:76:20: warning[-Wunused-variable]: ‘rygel_dbus_service_properties’ defined but not used
# 76 | static GParamSpec* rygel_dbus_service_properties[RYGEL_DBUS_SERVICE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 74| RYGEL_DBUS_SERVICE_NUM_PROPERTIES
# 75| };
# 76|-> static GParamSpec* rygel_dbus_service_properties[RYGEL_DBUS_SERVICE_NUM_PROPERTIES];
# 77| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 78| #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
Error: CPPCHECK_WARNING: [#def307]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/ui/rygel-preferences.p/rygel-media-pref-section.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def308]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/ui/rygel-preferences.p/rygel-media-pref-section.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/ui/rygel-preferences.p/rygel-media-pref-section.c:97:20: warning[-Wunused-variable]: ‘rygel_media_pref_section_properties’ defined but not used
# 97 | static GParamSpec* rygel_media_pref_section_properties[RYGEL_MEDIA_PREF_SECTION_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 95| RYGEL_MEDIA_PREF_SECTION_NUM_PROPERTIES
# 96| };
# 97|-> static GParamSpec* rygel_media_pref_section_properties[RYGEL_MEDIA_PREF_SECTION_NUM_PROPERTIES];
# 98| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 99| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def309]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/ui/rygel-preferences.p/rygel-network-pref-section.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def310]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/ui/rygel-preferences.p/rygel-network-pref-section.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/ui/rygel-preferences.p/rygel-network-pref-section.c:94:20: warning[-Wunused-variable]: ‘rygel_network_pref_section_properties’ defined but not used
# 94 | static GParamSpec* rygel_network_pref_section_properties[RYGEL_NETWORK_PREF_SECTION_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 92| RYGEL_NETWORK_PREF_SECTION_NUM_PROPERTIES
# 93| };
# 94|-> static GParamSpec* rygel_network_pref_section_properties[RYGEL_NETWORK_PREF_SECTION_NUM_PROPERTIES];
# 95| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 96| #define __vala_GtkTreePath_free0(var) ((var == NULL) ? NULL : (var = (_vala_GtkTreePath_free (var), NULL)))
Error: CPPCHECK_WARNING: [#def311]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/ui/rygel-preferences.p/rygel-preferences-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def312]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/ui/rygel-preferences.p/rygel-preferences-dialog.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/ui/rygel-preferences.p/rygel-preferences-dialog.c:98:20: warning[-Wunused-variable]: ‘rygel_preferences_dialog_properties’ defined but not used
# 98 | static GParamSpec* rygel_preferences_dialog_properties[RYGEL_PREFERENCES_DIALOG_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 96| RYGEL_PREFERENCES_DIALOG_NUM_PROPERTIES
# 97| };
# 98|-> static GParamSpec* rygel_preferences_dialog_properties[RYGEL_PREFERENCES_DIALOG_NUM_PROPERTIES];
# 99| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 100| #define _g_main_loop_unref0(var) ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def313]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/ui/rygel-preferences.p/rygel-preferences-section.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/ui/rygel-preferences.p/rygel-preferences-section.c:75:20: warning[-Wunused-variable]: ‘rygel_preferences_section_properties’ defined but not used
# 75 | static GParamSpec* rygel_preferences_section_properties[RYGEL_PREFERENCES_SECTION_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 73| RYGEL_PREFERENCES_SECTION_NUM_PROPERTIES
# 74| };
# 75|-> static GParamSpec* rygel_preferences_section_properties[RYGEL_PREFERENCES_SECTION_NUM_PROPERTIES];
# 76| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 77| #define _g_free0(var) (var = (g_free (var), NULL))
Error: CPPCHECK_WARNING: [#def314]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/ui/rygel-preferences.p/rygel-writable-user-config.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def315]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/ui/rygel-preferences.p/rygel-writable-user-config.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/ui/rygel-preferences.p/rygel-writable-user-config.c:76:20: warning[-Wunused-variable]: ‘rygel_writable_user_config_properties’ defined but not used
# 76 | static GParamSpec* rygel_writable_user_config_properties[RYGEL_WRITABLE_USER_CONFIG_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 74| RYGEL_WRITABLE_USER_CONFIG_NUM_PROPERTIES
# 75| };
# 76|-> static GParamSpec* rygel_writable_user_config_properties[RYGEL_WRITABLE_USER_CONFIG_NUM_PROPERTIES];
# 77| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 78| #define _g_free0(var) (var = (g_free (var), NULL))
Error: COMPILER_WARNING (CWE-563): [#def316]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-http-time-seek-test.p/time-seek/rygel-http-seek.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-http-time-seek-test.p/time-seek/rygel-http-seek.c:76:20: warning[-Wunused-variable]: ‘rygel_http_seek_request_properties’ defined but not used
# 76 | static GParamSpec* rygel_http_seek_request_properties[RYGEL_HTTP_SEEK_REQUEST_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 74| RYGEL_HTTP_SEEK_REQUEST_NUM_PROPERTIES
# 75| };
# 76|-> static GParamSpec* rygel_http_seek_request_properties[RYGEL_HTTP_SEEK_REQUEST_NUM_PROPERTIES];
# 77|
# 78| /**
Error: CPPCHECK_WARNING: [#def317]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-http-time-seek-test.p/time-seek/rygel-http-time-seek-request.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def318]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-http-time-seek-test.p/time-seek/rygel-http-time-seek-request.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-http-time-seek-test.p/time-seek/rygel-http-time-seek-request.c:83:20: warning[-Wunused-variable]: ‘rygel_http_time_seek_request_properties’ defined but not used
# 83 | static GParamSpec* rygel_http_time_seek_request_properties[RYGEL_HTTP_TIME_SEEK_REQUEST_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 81| RYGEL_HTTP_TIME_SEEK_REQUEST_NUM_PROPERTIES
# 82| };
# 83|-> static GParamSpec* rygel_http_time_seek_request_properties[RYGEL_HTTP_TIME_SEEK_REQUEST_NUM_PROPERTIES];
# 84|
# 85| #define SOUP_TYPE_SERVER_MESSAGE (soup_server_message_get_type ())
Error: COMPILER_WARNING (CWE-563): [#def319]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-http-time-seek-test.p/time-seek/rygel-http-time-seek-test.c:46:20: warning[-Wunused-variable]: ‘play_speed_properties’ defined but not used
# 46 | static GParamSpec* play_speed_properties[PLAY_SPEED_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~
# 44| PLAY_SPEED_NUM_PROPERTIES
# 45| };
# 46|-> static GParamSpec* play_speed_properties[PLAY_SPEED_NUM_PROPERTIES];
# 47|
# 48| #define TYPE_HTTP_GET_HANDLER (http_get_handler_get_type ())
Error: COMPILER_WARNING (CWE-563): [#def320]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-http-time-seek-test.p/time-seek/rygel-http-time-seek-test.c:62:20: warning[-Wunused-variable]: ‘http_get_handler_properties’ defined but not used
# 62 | static GParamSpec* http_get_handler_properties[HTTP_GET_HANDLER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 60| HTTP_GET_HANDLER_NUM_PROPERTIES
# 61| };
# 62|-> static GParamSpec* http_get_handler_properties[HTTP_GET_HANDLER_NUM_PROPERTIES];
# 63|
# 64| #define TYPE_CLIENT_HACKS (client_hacks_get_type ())
Error: COMPILER_WARNING (CWE-563): [#def321]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-http-time-seek-test.p/time-seek/rygel-http-time-seek-test.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-http-time-seek-test.p/time-seek/rygel-http-time-seek-test.c:78:20: warning[-Wunused-variable]: ‘client_hacks_properties’ defined but not used
# 78 | static GParamSpec* client_hacks_properties[CLIENT_HACKS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~
# 76| CLIENT_HACKS_NUM_PROPERTIES
# 77| };
# 78|-> static GParamSpec* client_hacks_properties[CLIENT_HACKS_NUM_PROPERTIES];
# 79|
# 80| #define SOUP_TYPE_SERVER_MESSAGE (soup_server_message_get_type ())
Error: COMPILER_WARNING (CWE-563): [#def322]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-meta-config-test.p/rygel-meta-config-test.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-meta-config-test.p/rygel-meta-config-test.c:44:20: warning[-Wunused-variable]: ‘test_config_properties’ defined but not used
# 44 | static GParamSpec* test_config_properties[TEST_CONFIG_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~
# 42| TEST_CONFIG_NUM_PROPERTIES
# 43| };
# 44|-> static GParamSpec* test_config_properties[TEST_CONFIG_NUM_PROPERTIES];
# 45| #define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
# 46| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def323]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-m3u-playlist.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def324]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-m3u-playlist.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-m3u-playlist.c:66:20: warning[-Wunused-variable]: ‘rygel_m3_uplay_list_properties’ defined but not used
# 66 | static GParamSpec* rygel_m3_uplay_list_properties[RYGEL_M3_UPLAY_LIST_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 64| RYGEL_M3_UPLAY_LIST_NUM_PROPERTIES
# 65| };
# 66|-> static GParamSpec* rygel_m3_uplay_list_properties[RYGEL_M3_UPLAY_LIST_NUM_PROPERTIES];
# 67| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 68| #define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))
Error: CPPCHECK_WARNING: [#def325]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-object-creator.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def326]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-object-creator.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-object-creator.c:113:20: warning[-Wunused-variable]: ‘rygel_base_media_container_properties’ defined but not used
# 113 | static GParamSpec* rygel_base_media_container_properties[RYGEL_BASE_MEDIA_CONTAINER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 111| RYGEL_BASE_MEDIA_CONTAINER_NUM_PROPERTIES
# 112| };
# 113|-> static GParamSpec* rygel_base_media_container_properties[RYGEL_BASE_MEDIA_CONTAINER_NUM_PROPERTIES];
# 114| #define _g_free0(var) (var = (g_free (var), NULL))
# 115| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: CPPCHECK_WARNING: [#def327]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-relational-expression.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def328]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-search-criteria-parser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def329]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def330]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:96:20: warning[-Wunused-variable]: ‘rygel_service_action_properties’ defined but not used
# 96 | static GParamSpec* rygel_service_action_properties[RYGEL_SERVICE_ACTION_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 94| RYGEL_SERVICE_ACTION_NUM_PROPERTIES
# 95| };
# 96|-> static GParamSpec* rygel_service_action_properties[RYGEL_SERVICE_ACTION_NUM_PROPERTIES];
# 97| #define _g_free0(var) (var = (g_free (var), NULL))
# 98|
Error: COMPILER_WARNING (CWE-563): [#def331]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:113:20: warning[-Wunused-variable]: ‘rygel_http_server_properties’ defined but not used
# 113 | static GParamSpec* rygel_http_server_properties[RYGEL_HTTP_SERVER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 111| RYGEL_HTTP_SERVER_NUM_PROPERTIES
# 112| };
# 113|-> static GParamSpec* rygel_http_server_properties[RYGEL_HTTP_SERVER_NUM_PROPERTIES];
# 114|
# 115| #define RYGEL_TYPE_OBJECT_REMOVAL_QUEUE (rygel_object_removal_queue_get_type ())
Error: COMPILER_WARNING (CWE-563): [#def332]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:129:20: warning[-Wunused-variable]: ‘rygel_object_removal_queue_properties’ defined but not used
# 129 | static GParamSpec* rygel_object_removal_queue_properties[RYGEL_OBJECT_REMOVAL_QUEUE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 127| RYGEL_OBJECT_REMOVAL_QUEUE_NUM_PROPERTIES
# 128| };
# 129|-> static GParamSpec* rygel_object_removal_queue_properties[RYGEL_OBJECT_REMOVAL_QUEUE_NUM_PROPERTIES];
# 130|
# 131| #define RYGEL_TYPE_MEDIA_OBJECT (rygel_media_object_get_type ())
Error: COMPILER_WARNING (CWE-563): [#def333]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:165:20: warning[-Wunused-variable]: ‘rygel_media_server_plugin_properties’ defined but not used
# 165 | static GParamSpec* rygel_media_server_plugin_properties[RYGEL_MEDIA_SERVER_PLUGIN_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 163| RYGEL_MEDIA_SERVER_PLUGIN_NUM_PROPERTIES
# 164| };
# 165|-> static GParamSpec* rygel_media_server_plugin_properties[RYGEL_MEDIA_SERVER_PLUGIN_NUM_PROPERTIES];
# 166| typedef struct _RygelMediaObjectPrivate RygelMediaObjectPrivate;
# 167|
Error: COMPILER_WARNING (CWE-563): [#def334]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:239:20: warning[-Wunused-variable]: ‘rygel_media_item_properties’ defined but not used
# 239 | static GParamSpec* rygel_media_item_properties[RYGEL_MEDIA_ITEM_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 237| RYGEL_MEDIA_ITEM_NUM_PROPERTIES
# 238| };
# 239|-> static GParamSpec* rygel_media_item_properties[RYGEL_MEDIA_ITEM_NUM_PROPERTIES];
# 240|
# 241| #define RYGEL_TYPE_MEDIA_FILE_ITEM (rygel_media_file_item_get_type ())
Error: COMPILER_WARNING (CWE-563): [#def335]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:255:20: warning[-Wunused-variable]: ‘rygel_media_file_item_properties’ defined but not used
# 255 | static GParamSpec* rygel_media_file_item_properties[RYGEL_MEDIA_FILE_ITEM_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 253| RYGEL_MEDIA_FILE_ITEM_NUM_PROPERTIES
# 254| };
# 255|-> static GParamSpec* rygel_media_file_item_properties[RYGEL_MEDIA_FILE_ITEM_NUM_PROPERTIES];
# 256|
# 257| #define RYGEL_TYPE_AUDIO_ITEM (rygel_audio_item_get_type ())
Error: COMPILER_WARNING (CWE-563): [#def336]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:282:20: warning[-Wunused-variable]: ‘rygel_music_item_properties’ defined but not used
# 282 | static GParamSpec* rygel_music_item_properties[RYGEL_MUSIC_ITEM_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 280| RYGEL_MUSIC_ITEM_NUM_PROPERTIES
# 281| };
# 282|-> static GParamSpec* rygel_music_item_properties[RYGEL_MUSIC_ITEM_NUM_PROPERTIES];
# 283| enum {
# 284| RYGEL_AUDIO_ITEM_0_PROPERTY,
Error: COMPILER_WARNING (CWE-563): [#def337]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:287:20: warning[-Wunused-variable]: ‘rygel_audio_item_properties’ defined but not used
# 287 | static GParamSpec* rygel_audio_item_properties[RYGEL_AUDIO_ITEM_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 285| RYGEL_AUDIO_ITEM_NUM_PROPERTIES
# 286| };
# 287|-> static GParamSpec* rygel_audio_item_properties[RYGEL_AUDIO_ITEM_NUM_PROPERTIES];
# 288|
# 289| #define RYGEL_TYPE_IMAGE_ITEM (rygel_image_item_get_type ())
Error: COMPILER_WARNING (CWE-563): [#def338]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:303:20: warning[-Wunused-variable]: ‘rygel_image_item_properties’ defined but not used
# 303 | static GParamSpec* rygel_image_item_properties[RYGEL_IMAGE_ITEM_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 301| RYGEL_IMAGE_ITEM_NUM_PROPERTIES
# 302| };
# 303|-> static GParamSpec* rygel_image_item_properties[RYGEL_IMAGE_ITEM_NUM_PROPERTIES];
# 304|
# 305| #define RYGEL_TYPE_VIDEO_ITEM (rygel_video_item_get_type ())
Error: COMPILER_WARNING (CWE-563): [#def339]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:319:20: warning[-Wunused-variable]: ‘rygel_video_item_properties’ defined but not used
# 319 | static GParamSpec* rygel_video_item_properties[RYGEL_VIDEO_ITEM_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 317| RYGEL_VIDEO_ITEM_NUM_PROPERTIES
# 318| };
# 319|-> static GParamSpec* rygel_video_item_properties[RYGEL_VIDEO_ITEM_NUM_PROPERTIES];
# 320|
# 321| #define RYGEL_TYPE_PHOTO_ITEM (rygel_photo_item_get_type ())
Error: COMPILER_WARNING (CWE-563): [#def340]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:335:20: warning[-Wunused-variable]: ‘rygel_photo_item_properties’ defined but not used
# 335 | static GParamSpec* rygel_photo_item_properties[RYGEL_PHOTO_ITEM_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 333| RYGEL_PHOTO_ITEM_NUM_PROPERTIES
# 334| };
# 335|-> static GParamSpec* rygel_photo_item_properties[RYGEL_PHOTO_ITEM_NUM_PROPERTIES];
# 336|
# 337| #define RYGEL_TYPE_PLAYLIST_ITEM (rygel_playlist_item_get_type ())
Error: COMPILER_WARNING (CWE-563): [#def341]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:351:20: warning[-Wunused-variable]: ‘rygel_playlist_item_properties’ defined but not used
# 351 | static GParamSpec* rygel_playlist_item_properties[RYGEL_PLAYLIST_ITEM_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 349| RYGEL_PLAYLIST_ITEM_NUM_PROPERTIES
# 350| };
# 351|-> static GParamSpec* rygel_playlist_item_properties[RYGEL_PLAYLIST_ITEM_NUM_PROPERTIES];
# 352|
# 353| #define RYGEL_TYPE_ROOT_DEVICE (rygel_root_device_get_type ())
Error: COMPILER_WARNING (CWE-563): [#def342]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:367:20: warning[-Wunused-variable]: ‘rygel_root_device_properties’ defined but not used
# 367 | static GParamSpec* rygel_root_device_properties[RYGEL_ROOT_DEVICE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 365| RYGEL_ROOT_DEVICE_NUM_PROPERTIES
# 366| };
# 367|-> static GParamSpec* rygel_root_device_properties[RYGEL_ROOT_DEVICE_NUM_PROPERTIES];
# 368|
# 369| #define RYGEL_TYPE_CONTENT_DIRECTORY (rygel_content_directory_get_type ())
Error: COMPILER_WARNING (CWE-563): [#def343]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:383:20: warning[-Wunused-variable]: ‘rygel_content_directory_properties’ defined but not used
# 383 | static GParamSpec* rygel_content_directory_properties[RYGEL_CONTENT_DIRECTORY_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 381| RYGEL_CONTENT_DIRECTORY_NUM_PROPERTIES
# 382| };
# 383|-> static GParamSpec* rygel_content_directory_properties[RYGEL_CONTENT_DIRECTORY_NUM_PROPERTIES];
# 384| typedef struct _RygelMediaContainerPrivate RygelMediaContainerPrivate;
# 385| enum {
Error: COMPILER_WARNING (CWE-563): [#def344]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:403:20: warning[-Wunused-variable]: ‘rygel_media_objects_properties’ defined but not used
# 403 | static GParamSpec* rygel_media_objects_properties[RYGEL_MEDIA_OBJECTS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 401| RYGEL_MEDIA_OBJECTS_NUM_PROPERTIES
# 402| };
# 403|-> static GParamSpec* rygel_media_objects_properties[RYGEL_MEDIA_OBJECTS_NUM_PROPERTIES];
# 404|
# 405| #define RYGEL_TYPE_WRITABLE_CONTAINER (rygel_writable_container_get_type ())
Error: COMPILER_WARNING (CWE-563): [#def345]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:419:20: warning[-Wunused-variable]: ‘rygel_writable_container_properties’ defined but not used
# 419 | static GParamSpec* rygel_writable_container_properties[RYGEL_WRITABLE_CONTAINER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 417| RYGEL_WRITABLE_CONTAINER_NUM_PROPERTIES
# 418| };
# 419|-> static GParamSpec* rygel_writable_container_properties[RYGEL_WRITABLE_CONTAINER_NUM_PROPERTIES];
# 420| typedef struct _RygelWritableContainerGetWritableData RygelWritableContainerGetWritableData;
# 421| typedef struct _RygelWritableContainerAddItemData RygelWritableContainerAddItemData;
Error: COMPILER_WARNING (CWE-563): [#def346]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:438:20: warning[-Wunused-variable]: ‘rygel_searchable_container_properties’ defined but not used
# 438 | static GParamSpec* rygel_searchable_container_properties[RYGEL_SEARCHABLE_CONTAINER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 436| RYGEL_SEARCHABLE_CONTAINER_NUM_PROPERTIES
# 437| };
# 438|-> static GParamSpec* rygel_searchable_container_properties[RYGEL_SEARCHABLE_CONTAINER_NUM_PROPERTIES];
# 439| #define _rygel_search_expression_unref0(var) ((var == NULL) ? NULL : (var = (rygel_search_expression_unref (var), NULL)))
# 440|
Error: COMPILER_WARNING (CWE-563): [#def347]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:481:20: warning[-Wunused-variable]: ‘rygel_http_object_creator_test_properties’ defined but not used
# 481 | static GParamSpec* rygel_http_object_creator_test_properties[RYGEL_HTTP_OBJECT_CREATOR_TEST_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 479| RYGEL_HTTP_OBJECT_CREATOR_TEST_NUM_PROPERTIES
# 480| };
# 481|-> static GParamSpec* rygel_http_object_creator_test_properties[RYGEL_HTTP_OBJECT_CREATOR_TEST_NUM_PROPERTIES];
# 482| #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
# 483| typedef enum {
Error: COMPILER_WARNING (CWE-563): [#def348]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-playbin-renderer-test.p/rygel-playbin-renderer-test.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-playbin-renderer-test.p/rygel-playbin-renderer-test.c:65:20: warning[-Wunused-variable]: ‘rygel_playbin_renderer_test_properties’ defined but not used
# 65 | static GParamSpec* rygel_playbin_renderer_test_properties[RYGEL_PLAYBIN_RENDERER_TEST_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 63| RYGEL_PLAYBIN_RENDERER_TEST_NUM_PROPERTIES
# 64| };
# 65|-> static GParamSpec* rygel_playbin_renderer_test_properties[RYGEL_PLAYBIN_RENDERER_TEST_NUM_PROPERTIES];
# 66| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
# 67| #define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
Error: CPPCHECK_WARNING: [#def349]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-plugin-loader-test.p/plugin-loader/rygel-plugin-loader-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def350]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-plugin-loader-test.p/plugin-loader/rygel-plugin-loader-test.c:43:20: warning[-Wunused-variable]: ‘test_config_properties’ defined but not used
# 43 | static GParamSpec* test_config_properties[TEST_CONFIG_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~
# 41| TEST_CONFIG_NUM_PROPERTIES
# 42| };
# 43|-> static GParamSpec* test_config_properties[TEST_CONFIG_NUM_PROPERTIES];
# 44| #define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
# 45|
Error: COMPILER_WARNING (CWE-563): [#def351]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-plugin-loader-test.p/plugin-loader/rygel-plugin-loader-test.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-plugin-loader-test.p/plugin-loader/rygel-plugin-loader-test.c:60:20: warning[-Wunused-variable]: ‘test_plugin_loader_properties’ defined but not used
# 60 | static GParamSpec* test_plugin_loader_properties[TEST_PLUGIN_LOADER_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 58| TEST_PLUGIN_LOADER_NUM_PROPERTIES
# 59| };
# 60|-> static GParamSpec* test_plugin_loader_properties[TEST_PLUGIN_LOADER_NUM_PROPERTIES];
# 61| #define _g_free0(var) (var = (g_free (var), NULL))
# 62| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def352]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-searchable-container-test.p/searchable-container/test.c:78:20: warning[-Wunused-variable]: ‘relational_expression_properties’ defined but not used
# 78 | static GParamSpec* relational_expression_properties[RELATIONAL_EXPRESSION_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 76| RELATIONAL_EXPRESSION_NUM_PROPERTIES
# 77| };
# 78|-> static GParamSpec* relational_expression_properties[RELATIONAL_EXPRESSION_NUM_PROPERTIES];
# 79| enum {
# 80| SEARCH_EXPRESSION_0_PROPERTY,
Error: COMPILER_WARNING (CWE-563): [#def353]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-searchable-container-test.p/searchable-container/test.c:83:20: warning[-Wunused-variable]: ‘search_expression_properties’ defined but not used
# 83 | static GParamSpec* search_expression_properties[SEARCH_EXPRESSION_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 81| SEARCH_EXPRESSION_NUM_PROPERTIES
# 82| };
# 83|-> static GParamSpec* search_expression_properties[SEARCH_EXPRESSION_NUM_PROPERTIES];
# 84| #define _g_free0(var) (var = (g_free (var), NULL))
# 85|
Error: COMPILER_WARNING (CWE-563): [#def354]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-searchable-container-test.p/searchable-container/test.c:100:20: warning[-Wunused-variable]: ‘media_object_properties’ defined but not used
# 100 | static GParamSpec* media_object_properties[MEDIA_OBJECT_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~
# 98| MEDIA_OBJECT_NUM_PROPERTIES
# 99| };
# 100|-> static GParamSpec* media_object_properties[MEDIA_OBJECT_NUM_PROPERTIES];
# 101|
# 102| #define TYPE_MEDIA_CONTAINER (media_container_get_type ())
Error: COMPILER_WARNING (CWE-563): [#def355]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-searchable-container-test.p/searchable-container/test.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-searchable-container-test.p/searchable-container/test.c:165:20: warning[-Wunused-variable]: ‘media_objects_properties’ defined but not used
# 165 | static GParamSpec* media_objects_properties[MEDIA_OBJECTS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~
# 163| MEDIA_OBJECTS_NUM_PROPERTIES
# 164| };
# 165|-> static GParamSpec* media_objects_properties[MEDIA_OBJECTS_NUM_PROPERTIES];
# 166| #define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
# 167| #define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
Error: CPPCHECK_WARNING: [#def356]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-user-config-test.p/rygel-user-config-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def357]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-user-config-test.p/rygel-user-config-test.c:96:20: warning[-Wunused-variable]: ‘rygel_user_config_test_properties’ defined but not used
# 96 | static GParamSpec* rygel_user_config_test_properties[RYGEL_USER_CONFIG_TEST_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 94| RYGEL_USER_CONFIG_TEST_NUM_PROPERTIES
# 95| };
# 96|-> static GParamSpec* rygel_user_config_test_properties[RYGEL_USER_CONFIG_TEST_NUM_PROPERTIES];
# 97| #define _g_main_loop_unref0(var) ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))
# 98| #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
Error: COMPILER_WARNING (CWE-563): [#def358]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-user-config-test.p/rygel-user-config-test.c:219:20: warning[-Wunused-variable]: ‘rygel_user_config_test_config_set_properties’ defined but not used
# 219 | static GParamSpec* rygel_user_config_test_config_set_properties[RYGEL_USER_CONFIG_TEST_CONFIG_SET_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 217| RYGEL_USER_CONFIG_TEST_CONFIG_SET_NUM_PROPERTIES
# 218| };
# 219|-> static GParamSpec* rygel_user_config_test_config_set_properties[RYGEL_USER_CONFIG_TEST_CONFIG_SET_NUM_PROPERTIES];
# 220| enum {
# 221| RYGEL_USER_CONFIG_TEST_SECTION_MAP_0_PROPERTY,
Error: COMPILER_WARNING (CWE-563): [#def359]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-user-config-test.p/rygel-user-config-test.c:224:20: warning[-Wunused-variable]: ‘rygel_user_config_test_section_map_properties’ defined but not used
# 224 | static GParamSpec* rygel_user_config_test_section_map_properties[RYGEL_USER_CONFIG_TEST_SECTION_MAP_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 222| RYGEL_USER_CONFIG_TEST_SECTION_MAP_NUM_PROPERTIES
# 223| };
# 224|-> static GParamSpec* rygel_user_config_test_section_map_properties[RYGEL_USER_CONFIG_TEST_SECTION_MAP_NUM_PROPERTIES];
# 225| enum {
# 226| RYGEL_USER_CONFIG_TEST_SETTING_MAP_0_PROPERTY,
Error: COMPILER_WARNING (CWE-563): [#def360]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-user-config-test.p/rygel-user-config-test.c:229:20: warning[-Wunused-variable]: ‘rygel_user_config_test_setting_map_properties’ defined but not used
# 229 | static GParamSpec* rygel_user_config_test_setting_map_properties[RYGEL_USER_CONFIG_TEST_SETTING_MAP_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 227| RYGEL_USER_CONFIG_TEST_SETTING_MAP_NUM_PROPERTIES
# 228| };
# 229|-> static GParamSpec* rygel_user_config_test_setting_map_properties[RYGEL_USER_CONFIG_TEST_SETTING_MAP_NUM_PROPERTIES];
# 230| enum {
# 231| RYGEL_USER_CONFIG_TEST_SETTINGS_0_PROPERTY,
Error: COMPILER_WARNING (CWE-563): [#def361]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-user-config-test.p/rygel-user-config-test.c:234:20: warning[-Wunused-variable]: ‘rygel_user_config_test_settings_properties’ defined but not used
# 234 | static GParamSpec* rygel_user_config_test_settings_properties[RYGEL_USER_CONFIG_TEST_SETTINGS_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 232| RYGEL_USER_CONFIG_TEST_SETTINGS_NUM_PROPERTIES
# 233| };
# 234|-> static GParamSpec* rygel_user_config_test_settings_properties[RYGEL_USER_CONFIG_TEST_SETTINGS_NUM_PROPERTIES];
# 235| typedef struct _RygelUserConfigTestSettingsActionPrivate RygelUserConfigTestSettingsActionPrivate;
# 236| enum {
Error: COMPILER_WARNING (CWE-563): [#def362]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-user-config-test.p/rygel-user-config-test.c:240:20: warning[-Wunused-variable]: ‘rygel_user_config_test_settings_action_properties’ defined but not used
# 240 | static GParamSpec* rygel_user_config_test_settings_action_properties[RYGEL_USER_CONFIG_TEST_SETTINGS_ACTION_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 238| RYGEL_USER_CONFIG_TEST_SETTINGS_ACTION_NUM_PROPERTIES
# 239| };
# 240|-> static GParamSpec* rygel_user_config_test_settings_action_properties[RYGEL_USER_CONFIG_TEST_SETTINGS_ACTION_NUM_PROPERTIES];
# 241| typedef struct _RygelUserConfigTestSettingsDoNothingPrivate RygelUserConfigTestSettingsDoNothingPrivate;
# 242| enum {
Error: COMPILER_WARNING (CWE-563): [#def363]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-user-config-test.p/rygel-user-config-test.c:246:20: warning[-Wunused-variable]: ‘rygel_user_config_test_settings_do_nothing_properties’ defined but not used
# 246 | static GParamSpec* rygel_user_config_test_settings_do_nothing_properties[RYGEL_USER_CONFIG_TEST_SETTINGS_DO_NOTHING_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 244| RYGEL_USER_CONFIG_TEST_SETTINGS_DO_NOTHING_NUM_PROPERTIES
# 245| };
# 246|-> static GParamSpec* rygel_user_config_test_settings_do_nothing_properties[RYGEL_USER_CONFIG_TEST_SETTINGS_DO_NOTHING_NUM_PROPERTIES];
# 247| typedef struct _RygelUserConfigTestSettingsReplacePrivate RygelUserConfigTestSettingsReplacePrivate;
# 248| enum {
Error: COMPILER_WARNING (CWE-563): [#def364]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-user-config-test.p/rygel-user-config-test.c:252:20: warning[-Wunused-variable]: ‘rygel_user_config_test_settings_replace_properties’ defined but not used
# 252 | static GParamSpec* rygel_user_config_test_settings_replace_properties[RYGEL_USER_CONFIG_TEST_SETTINGS_REPLACE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 250| RYGEL_USER_CONFIG_TEST_SETTINGS_REPLACE_NUM_PROPERTIES
# 251| };
# 252|-> static GParamSpec* rygel_user_config_test_settings_replace_properties[RYGEL_USER_CONFIG_TEST_SETTINGS_REPLACE_NUM_PROPERTIES];
# 253| typedef struct _RygelUserConfigTestSettingsRemovePrivate RygelUserConfigTestSettingsRemovePrivate;
# 254| enum {
Error: COMPILER_WARNING (CWE-563): [#def365]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-user-config-test.p/rygel-user-config-test.c:258:20: warning[-Wunused-variable]: ‘rygel_user_config_test_settings_remove_properties’ defined but not used
# 258 | static GParamSpec* rygel_user_config_test_settings_remove_properties[RYGEL_USER_CONFIG_TEST_SETTINGS_REMOVE_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 256| RYGEL_USER_CONFIG_TEST_SETTINGS_REMOVE_NUM_PROPERTIES
# 257| };
# 258|-> static GParamSpec* rygel_user_config_test_settings_remove_properties[RYGEL_USER_CONFIG_TEST_SETTINGS_REMOVE_NUM_PROPERTIES];
# 259| enum {
# 260| RYGEL_USER_CONFIG_TEST_WATCH_DATA_0_PROPERTY,
Error: COMPILER_WARNING (CWE-563): [#def366]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-user-config-test.p/rygel-user-config-test.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-user-config-test.p/rygel-user-config-test.c:263:20: warning[-Wunused-variable]: ‘rygel_user_config_test_watch_data_properties’ defined but not used
# 263 | static GParamSpec* rygel_user_config_test_watch_data_properties[RYGEL_USER_CONFIG_TEST_WATCH_DATA_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 261| RYGEL_USER_CONFIG_TEST_WATCH_DATA_NUM_PROPERTIES
# 262| };
# 263|-> static GParamSpec* rygel_user_config_test_watch_data_properties[RYGEL_USER_CONFIG_TEST_WATCH_DATA_NUM_PROPERTIES];
# 264| typedef struct _RygelUserConfigTestConfigRemoverPrivate RygelUserConfigTestConfigRemoverPrivate;
# 265| typedef struct _RygelUserConfigTestParamSpecConfigRemover RygelUserConfigTestParamSpecConfigRemover;
Error: CPPCHECK_WARNING: [#def367]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-user-config-test.p/rygel-user-config.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: COMPILER_WARNING (CWE-563): [#def368]
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-user-config-test.p/rygel-user-config.c: scope_hint: At top level
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-user-config-test.p/rygel-user-config.c:106:20: warning[-Wunused-variable]: ‘rygel_user_config_properties’ defined but not used
# 106 | static GParamSpec* rygel_user_config_properties[RYGEL_USER_CONFIG_NUM_PROPERTIES];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 104| RYGEL_USER_CONFIG_NUM_PROPERTIES
# 105| };
# 106|-> static GParamSpec* rygel_user_config_properties[RYGEL_USER_CONFIG_NUM_PROPERTIES];
# 107|
# 108| #define RYGEL_USER_CONFIG_TYPE_CONFIG_PAIR (rygel_user_config_config_pair_get_type ())
Error: COMPILER_WARNING (CWE-704): [#def369]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/agent-matcher.vala: scope_hint: In function ‘rygel_agent_matcher_set_name’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/agent-matcher.vala:6:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 4| internal class Rygel.AgentMatcher : Object {
# 5| public Gee.ArrayList<string> agents { get; construct; }
# 6|-> public string name{get; construct; }
# 7| public Regex agent_regex {get; private set; }
# 8|
Error: CLANG_WARNING: [#def370]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/agent-matcher.vala:28:2: warning[deadcode.DeadStores]: Value stored to '_tmp13_' is never read
# 26| }
# 27|
# 28|-> if (agents_with_pattern.length > 0) {
# 29| agent_pattern = string.joinv ("|", agents_with_pattern);
# 30| } else {
Error: COMPILER_WARNING (CWE-843): [#def371]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/dlna150-hacks.vala: scope_hint: In function ‘rygel_dlna150_hacks_real_constructed’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/dlna150-hacks.vala:24:30: warning[-Wincompatible-pointer-types]: passing argument 1 of ‘_vala_array_dup4’ from incompatible pointer type
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/dlna150-hacks.c:69:27: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
# 22|
# 23| if (Dlna150Hacks.agent_matcher == null) {
# 24|-> var defaults = new Gee.ArrayList<string>.wrap (AGENTS, (Gee.EqualDataFunc<string>?)str_equal);
# 25| var config = MetaConfig.get_default ();
# 26| var agents = config.get_string_list_with_default ("general", "force-downgrade-for", defaults);
Error: COMPILER_WARNING (CWE-843): [#def372]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/dlna150-hacks.vala:24:104: warning[-Wincompatible-pointer-types]: passing argument 4 of ‘gee_array_list_new_wrap’ from incompatible pointer type
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/rygel-core.h:12: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/dlna150-hacks.c:7: included_from: Included from here.
/usr/include/gee-0.8/gee.h:1668:50: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
# 22|
# 23| if (Dlna150Hacks.agent_matcher == null) {
# 24|-> var defaults = new Gee.ArrayList<string>.wrap (AGENTS, (Gee.EqualDataFunc<string>?)str_equal);
# 25| var config = MetaConfig.get_default ();
# 26| var agents = config.get_string_list_with_default ("general", "force-downgrade-for", defaults);
Error: CLANG_WARNING: [#def373]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/dlna150-hacks.vala:39:2: warning[deadcode.DeadStores]: Value stored to '_contents_size_' is never read
# 37| var file = File.new_for_path (template_path);
# 38| uint8[] contents;
# 39|-> file.load_contents (null, out contents, null);
# 40| unowned string data = (string)contents;
# 41| var patched_contents = data.replace ("-1.51", "-1.50");
Error: COMPILER_WARNING (CWE-843): [#def374]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/dlna150-hacks.vala: scope_hint: In function ‘rygel_dlna150_hacks_apply_on_device’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/dlna150-hacks.vala:39:38: warning[-Wincompatible-pointer-types]: passing argument 3 of ‘g_file_load_contents’ from incompatible pointer type
/usr/include/glib-2.0/gio/gio.h:81: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp-acl.h:14: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp.h:9: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/rygel-core.h:6: included_from: Included from here.
/usr/include/glib-2.0/gio/gfile.h:1264:71: note: expected ‘char **’ but argument is of type ‘guint8 **’ {aka ‘unsigned char **’}
# 37| var file = File.new_for_path (template_path);
# 38| uint8[] contents;
# 39|-> file.load_contents (null, out contents, null);
# 40| unowned string data = (string)contents;
# 41| var patched_contents = data.replace ("-1.51", "-1.50");
Error: CLANG_WARNING: [#def375]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/dlna150-hacks.vala:40:2: warning[deadcode.DeadStores]: Value stored to '_tmp4__length1' is never read
# 38| uint8[] contents;
# 39| file.load_contents (null, out contents, null);
# 40|-> unowned string data = (string)contents;
# 41| var patched_contents = data.replace ("-1.51", "-1.50");
# 42|
Error: COMPILER_WARNING (CWE-477): [#def376]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-base-configuration.vala: scope_hint: In function ‘rygel_base_configuration_rygel_configuration_interface_init’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-base-configuration.vala:28:2: warning[-Wdeprecated-declarations]: ‘get_interface’ is deprecated
# 28 | public class Rygel.BaseConfiguration : Rygel.Configuration, Object {
# | ^~~~~
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-base-configuration.c:26: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/rygel-core.h:513:18: note: declared here
# 513 | gchar* (*get_interface) (RygelConfiguration* self, GError** error) G_GNUC_DEPRECATED ;
# | ^~~~~~~~~~~~~
# 26| * Mainly useful to only implement a small subset of the configuration.
# 27| */
# 28|-> public class Rygel.BaseConfiguration : Rygel.Configuration, Object {
# 29| public virtual string get_interface () throws GLib.Error {
# 30| throw new ConfigurationError.NO_VALUE_SET (_("Not implemented"));
Error: CLANG_WARNING: [#def377]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:127:2: note: Null pointer value stored to '_tmp1_'
# 125| private string get_addresses_csv () {
# 126| var builder = new StringBuilder ("");
# 127|-> foreach (var address in this.addresses) {
# 128| if (builder.len != 0) {
# 129| builder.append (",");
Error: CLANG_WARNING: [#def378]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:127:3: note: Loop condition is true. Entering loop body
# 125| private string get_addresses_csv () {
# 126| var builder = new StringBuilder ("");
# 127|-> foreach (var address in this.addresses) {
# 128| if (builder.len != 0) {
# 129| builder.append (",");
Error: CLANG_WARNING: [#def379]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:127:3: note: Null pointer value stored to 'address_collection'
# 125| private string get_addresses_csv () {
# 126| var builder = new StringBuilder ("");
# 127|-> foreach (var address in this.addresses) {
# 128| if (builder.len != 0) {
# 129| builder.append (",");
Error: CLANG_WARNING: [#def380]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:127:23: note: Array access (from variable 'address_collection') results in a null pointer dereference
# 125| private string get_addresses_csv () {
# 126| var builder = new StringBuilder ("");
# 127|-> foreach (var address in this.addresses) {
# 128| if (builder.len != 0) {
# 129| builder.append (",");
Error: CLANG_WARNING: [#def381]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:127:23: warning[core.NullDereference]: Array access (from variable 'address_collection') results in a null pointer dereference
# 125| private string get_addresses_csv () {
# 126| var builder = new StringBuilder ("");
# 127|-> foreach (var address in this.addresses) {
# 128| if (builder.len != 0) {
# 129| builder.append (",");
Error: CLANG_WARNING: [#def382]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:127:24: note: Assuming 'address_it' is < 'address_collection_length1'
# 125| private string get_addresses_csv () {
# 126| var builder = new StringBuilder ("");
# 127|-> foreach (var address in this.addresses) {
# 128| if (builder.len != 0) {
# 129| builder.append (",");
Error: CLANG_WARNING: [#def383]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:138:11: note: Calling 'rygel_basic_management_test_ns_lookup_result_get_addresses_csv'
# 136|
# 137| public string to_xml_fragment () {
# 138|-> return ("<Result>\n" +
# 139| "<Status>%s</Status>\n" +
# 140| "<AnswerType>%s</AnswerType>\n" +
Error: COMPILER_WARNING (CWE-704): [#def384]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala: scope_hint: In function ‘rygel_basic_management_test_ns_lookup_set_host_name’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:154:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 152| }
# 153|
# 154|-> public string host_name { construct; private get; default = ""; }
# 155| public string? name_server { construct; private get; default = null; }
# 156|
Error: COMPILER_WARNING (CWE-704): [#def385]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala: scope_hint: In function ‘rygel_basic_management_test_ns_lookup_set_name_server’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:155:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 153|
# 154| public string host_name { construct; private get; default = ""; }
# 155|-> public string? name_server { construct; private get; default = null; }
# 156|
# 157| private uint _interval_time_out = DEFAULT_INTERVAL_TIMEOUT;
Error: CLANG_WARNING: [#def386]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:190:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 188|
# 189| public override string method_type {
# 190|-> get {
# 191| return "NSLookup";
# 192| }
Error: CLANG_WARNING: [#def387]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:196:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 194|
# 195| public override string results_type {
# 196|-> get {
# 197| return "GetNSLookupResult";
# 198| }
Error: CLANG_WARNING: [#def388]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:264:4: warning[deadcode.DeadStores]: Value stored to '_tmp1__length1' is never read
# 262| this.generic_status = GenericStatus.ERROR_INTERNAL;
# 263| this.additional_info = "Failed to spawn nslookup";
# 264|-> this.results[results.length - 1].status =
# 265| ResultStatus.ERROR_OTHER;
# 266|
Error: CLANG_WARNING: [#def389]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:264:4: warning[deadcode.DeadStores]: Value stored to '_tmp2_' is never read
# 262| this.generic_status = GenericStatus.ERROR_INTERNAL;
# 263| this.additional_info = "Failed to spawn nslookup";
# 264|-> this.results[results.length - 1].status =
# 265| ResultStatus.ERROR_OTHER;
# 266|
Error: CLANG_WARNING: [#def390]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:272:4: warning[deadcode.DeadStores]: Value stored to '_tmp3__length1' is never read
# 270| /* constructed () has set info already */
# 271| this.generic_status = GenericStatus.ERROR_OTHER;
# 272|-> this.results[results.length - 1].status =
# 273| ResultStatus.ERROR_OTHER;
# 274|
Error: CLANG_WARNING: [#def391]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:272:4: warning[deadcode.DeadStores]: Value stored to '_tmp4_' is never read
# 270| /* constructed () has set info already */
# 271| this.generic_status = GenericStatus.ERROR_OTHER;
# 272|-> this.results[results.length - 1].status =
# 273| ResultStatus.ERROR_OTHER;
# 274|
Error: CLANG_WARNING: [#def392]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:279:4: warning[deadcode.DeadStores]: Value stored to '_tmp6__length1' is never read
# 277| var elapsed_msec = this.timer.elapsed (null) * 1000;
# 278| var exec_time = (uint)Math.round (elapsed_msec);
# 279|-> this.results[results.length - 1].execution_time = exec_time;
# 280|
# 281| break;
Error: CLANG_WARNING: [#def393]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:279:4: warning[deadcode.DeadStores]: Value stored to '_tmp7_' is never read
# 277| var elapsed_msec = this.timer.elapsed (null) * 1000;
# 278| var exec_time = (uint)Math.round (elapsed_msec);
# 279|-> this.results[results.length - 1].execution_time = exec_time;
# 280|
# 281| break;
Error: CLANG_WARNING: [#def394]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:288:2: warning[deadcode.DeadStores]: Value stored to '_tmp0__length1' is never read
# 286|
# 287| protected override void handle_error (string line) {
# 288|-> unowned Result* result = &this.results[results.length - 1];
# 289|
# 290| if (line.contains ("couldn't get address for")) {
Error: CLANG_WARNING: [#def395]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:288:2: warning[deadcode.DeadStores]: Value stored to '_tmp1_' is never read
# 286|
# 287| protected override void handle_error (string line) {
# 288|-> unowned Result* result = &this.results[results.length - 1];
# 289|
# 290| if (line.contains ("couldn't get address for")) {
Error: CLANG_WARNING: [#def396]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:298:2: warning[deadcode.DeadStores]: Value stored to '_tmp0__length1' is never read
# 296|
# 297| protected override void handle_output (string line) {
# 298|-> unowned Result* result = &this.results[results.length - 1];
# 299|
# 300| line.strip ();
Error: CLANG_WARNING: [#def397]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:298:2: warning[deadcode.DeadStores]: Value stored to '_tmp1_' is never read
# 296|
# 297| protected override void handle_output (string line) {
# 298|-> unowned Result* result = &this.results[results.length - 1];
# 299|
# 300| line.strip ();
Error: CLANG_WARNING: [#def398]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-nslookup.vala:350:14: note: Calling 'rygel_basic_management_test_ns_lookup_result_to_xml_fragment'
# 348|
# 349| foreach (var result in this.results) {
# 350|-> builder.append (result.to_xml_fragment ());
# 351| if (result.status == ResultStatus.SUCCESS) {
# 352| success_count++;
Error: COMPILER_WARNING (CWE-704): [#def399]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-ping.vala: scope_hint: In function ‘rygel_basic_management_test_ping_set_host’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-ping.vala:68:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 68 | public string host { construct; get; default = ""; }
# | ^
# 66| }
# 67|
# 68|-> public string host { construct; get; default = ""; }
# 69|
# 70| private uint _repeat_count = DEFAULT_REPEAT_COUNT;
Error: CLANG_WARNING: [#def400]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-ping.vala:137:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 135|
# 136| public override string method_type {
# 137|-> get {
# 138| return "Ping";
# 139| }
Error: CLANG_WARNING: [#def401]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-ping.vala:143:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 141|
# 142| public override string results_type {
# 143|-> get {
# 144| return "GetPingResult";
# 145| }
Error: CLANG_WARNING: [#def402]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-ping.vala:241:5: warning[deadcode.DeadStores]: Value stored to '_rtt_values_size_' is never read
# 239| this.state = ProcessState.RTT;
# 240|
# 241|-> var rtt_values = line.split (", ", 3);
# 242| uint tx = int.parse (rtt_values[0].split (" ", 3)[0]);
# 243| uint rx = int.parse (rtt_values[1].split (" ", 3)[0]);
Error: CLANG_WARNING: [#def403]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-ping.vala:242:5: warning[deadcode.DeadStores]: Value stored to '_tmp4__length1' is never read
# 240|
# 241| var rtt_values = line.split (", ", 3);
# 242|-> uint tx = int.parse (rtt_values[0].split (" ", 3)[0]);
# 243| uint rx = int.parse (rtt_values[1].split (" ", 3)[0]);
# 244| this.failure_count = tx - rx;
Error: CLANG_WARNING: [#def404]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-ping.vala:243:5: warning[deadcode.DeadStores]: Value stored to '_tmp11__length1' is never read
# 241| var rtt_values = line.split (", ", 3);
# 242| uint tx = int.parse (rtt_values[0].split (" ", 3)[0]);
# 243|-> uint rx = int.parse (rtt_values[1].split (" ", 3)[0]);
# 244| this.failure_count = tx - rx;
# 245| this.success_count = rx;
Error: CLANG_WARNING: [#def405]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-ping.vala:249:6: warning[deadcode.DeadStores]: Value stored to '_rtt_size_' is never read
# 247| } else if (this.state == ProcessState.RTT) {
# 248| if (line.contains ("min/avg/max")) {
# 249|-> var rtt = line.split ("=", 2);
# 250| if (rtt.length >= 2) {
# 251| var rtt_values = rtt[1].split ("/", 4);
Error: CLANG_WARNING: [#def406]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-ping.vala:250:6: warning[deadcode.DeadStores]: Value stored to '_tmp20_' is never read
# 248| if (line.contains ("min/avg/max")) {
# 249| var rtt = line.split ("=", 2);
# 250|-> if (rtt.length >= 2) {
# 251| var rtt_values = rtt[1].split ("/", 4);
# 252| if (rtt_values.length >= 3) {
Error: CLANG_WARNING: [#def407]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-ping.vala:251:7: warning[deadcode.DeadStores]: Value stored to '_rtt_values_size_' is never read
# 249| var rtt = line.split ("=", 2);
# 250| if (rtt.length >= 2) {
# 251|-> var rtt_values = rtt[1].split ("/", 4);
# 252| if (rtt_values.length >= 3) {
# 253| this.min_response_time = (uint) Math.round
Error: CLANG_WARNING: [#def408]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-ping.vala:251:7: warning[deadcode.DeadStores]: Value stored to '_tmp21__length1' is never read
# 249| var rtt = line.split ("=", 2);
# 250| if (rtt.length >= 2) {
# 251|-> var rtt_values = rtt[1].split ("/", 4);
# 252| if (rtt_values.length >= 3) {
# 253| this.min_response_time = (uint) Math.round
Error: CLANG_WARNING: [#def409]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-ping.vala:252:7: warning[deadcode.DeadStores]: Value stored to '_tmp25_' is never read
# 250| if (rtt.length >= 2) {
# 251| var rtt_values = rtt[1].split ("/", 4);
# 252|-> if (rtt_values.length >= 3) {
# 253| this.min_response_time = (uint) Math.round
# 254| (double.parse (rtt_values[0]));
Error: CLANG_WARNING: [#def410]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-ping.vala:253:8: warning[deadcode.DeadStores]: Value stored to '_tmp26__length1' is never read
# 251| var rtt_values = rtt[1].split ("/", 4);
# 252| if (rtt_values.length >= 3) {
# 253|-> this.min_response_time = (uint) Math.round
# 254| (double.parse (rtt_values[0]));
# 255| this.avg_response_time = (uint) Math.round
Error: CLANG_WARNING: [#def411]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-ping.vala:255:8: warning[deadcode.DeadStores]: Value stored to '_tmp28__length1' is never read
# 253| this.min_response_time = (uint) Math.round
# 254| (double.parse (rtt_values[0]));
# 255|-> this.avg_response_time = (uint) Math.round
# 256| (double.parse (rtt_values[1]));
# 257| this.max_response_time = (uint) Math.round
Error: CLANG_WARNING: [#def412]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-ping.vala:257:8: warning[deadcode.DeadStores]: Value stored to '_tmp30__length1' is never read
# 255| this.avg_response_time = (uint) Math.round
# 256| (double.parse (rtt_values[1]));
# 257|-> this.max_response_time = (uint) Math.round
# 258| (double.parse (rtt_values[2]));
# 259| }
Error: COMPILER_WARNING (CWE-704): [#def413]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-traceroute.vala: scope_hint: In function ‘rygel_basic_management_test_traceroute_set_host’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-traceroute.vala:71:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 71 | public string host { construct; get; default = ""; }
# | ^
# 69| }
# 70|
# 71|-> public string host { construct; get; default = ""; }
# 72|
# 73| private uint32 _wait_time_out = DEFAULT_TIMEOUT;
Error: CLANG_WARNING: [#def414]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-traceroute.vala:140:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 138|
# 139| public override string method_type {
# 140|-> get {
# 141| return "Traceroute";
# 142| }
Error: CLANG_WARNING: [#def415]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test-traceroute.vala:146:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 144|
# 145| public override string results_type {
# 146|-> get {
# 147| return "GetTracerouteResult";
# 148| }
Error: CLANG_WARNING: [#def416]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test.vala:26:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 24| using GLib;
# 25|
# 26|-> internal abstract class Rygel.BasicManagementTest : Object, StateMachine {
# 27| protected Cancellable _cancellable;
# 28| public Cancellable cancellable {
Error: CLANG_WARNING: [#def417]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test.vala:106:2: warning[deadcode.DeadStores]: Value stored to '_tmp0__length1' is never read
# 104| protected virtual void handle_output (string line) {}
# 105| protected virtual void handle_error (string line) {
# 106|-> debug ("%s stderr: %s", command[0], line);
# 107| }
# 108| protected virtual bool finish_iteration () {
Error: CLANG_WARNING: [#def418]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test.vala:155:3: warning[deadcode.DeadStores]: Value stored to '_tmp0__length1' is never read
# 153|
# 154| this.eof_count = 0;
# 155|-> Process.spawn_async_with_pipes (null,
# 156| this.command,
# 157| null,
Error: GCC_ANALYZER_WARNING (CWE-476): [#def419]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test.vala: scope_hint: In function ‘rygel_basic_management_test_real_run_co’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test.vala:242:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-basic-management-test.vala: scope_hint: In function ‘rygel_basic_management_test_real_run_co’
# 240|
# 241| public async virtual void run () {
# 242|-> if (this.execution_state != ExecutionState.REQUESTED) {
# 243| debug ("Not running test: already started");
# 244|
Error: COMPILER_WARNING (CWE-477): [#def420]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala: scope_hint: In function ‘rygel_cmdline_config_rygel_configuration_interface_init’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:38:2: warning[-Wdeprecated-declarations]: ‘get_interface’ is deprecated
# 38 | public class Rygel.CmdlineConfig : GLib.Object, Configuration {
# | ^~~~~
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/rygel-core.h:513:18: note: declared here
# 513 | gchar* (*get_interface) (RygelConfiguration* self, GError** error) G_GNUC_DEPRECATED ;
# | ^~~~~~~~~~~~~
# 36| * Manages configuration from Commandline arguments.
# 37| */
# 38|-> public class Rygel.CmdlineConfig : GLib.Object, Configuration {
# 39| private VariantDict options;
# 40|
Error: CLANG_WARNING: [#def421]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:91:2: warning[deadcode.DeadStores]: Value stored to '__tmp0__size_' is never read
# 89|
# 90| public string get_interface () throws GLib.Error {
# 91|-> return get_interfaces ()[0];
# 92| }
# 93|
Error: CLANG_WARNING: [#def422]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:96:2: warning[deadcode.DeadStores]: Value stored to '_ifaces_size_' is never read
# 94| [CCode (array_length=false, array_null_terminated = true)]
# 95| public string[] get_interfaces () throws GLib.Error {
# 96|-> string[] ifaces = null;
# 97| if (!this.options.lookup ("network-interface", "^as", out ifaces)) {
# 98| throw new ConfigurationError.NO_VALUE_SET (_("No value available"));
Error: CLANG_WARNING: [#def423]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:97:2: warning[deadcode.DeadStores]: Value stored to '_ifaces_size_' is never read
# 95| public string[] get_interfaces () throws GLib.Error {
# 96| string[] ifaces = null;
# 97|-> if (!this.options.lookup ("network-interface", "^as", out ifaces)) {
# 98| throw new ConfigurationError.NO_VALUE_SET (_("No value available"));
# 99| }
Error: CLANG_WARNING: [#def424]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:105:2: warning[deadcode.DeadStores]: Value stored to 'port' is never read
# 103|
# 104| public int get_port () throws GLib.Error {
# 105|-> int port = 0;
# 106| if (!this.options.lookup ("port", "i", out port)) {
# 107| throw new ConfigurationError.NO_VALUE_SET (_("No value available"));
Error: CLANG_WARNING: [#def425]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:115:2: warning[deadcode.DeadStores]: Value stored to 'val' is never read
# 113| public bool get_transcoding () throws GLib.Error {
# 114| bool val;
# 115|-> if (!this.options.lookup ("disable-transcoding", "b", out val)) {
# 116| throw new ConfigurationError.NO_VALUE_SET (_("No value available"));
# 117| } else {
Error: CLANG_WARNING: [#def426]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:124:2: warning[deadcode.DeadStores]: Value stored to 'val' is never read
# 122| public bool get_allow_upload () throws GLib.Error {
# 123| bool val;
# 124|-> if (!this.options.lookup ("disable-transcoding", "b", out val)) {
# 125| throw new ConfigurationError.NO_VALUE_SET (_("No value available"));
# 126| } else {
Error: CLANG_WARNING: [#def427]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:133:2: warning[deadcode.DeadStores]: Value stored to 'val' is never read
# 131| public bool get_allow_deletion () throws GLib.Error {
# 132| bool val;
# 133|-> if (!this.options.lookup ("disable-transcoding", "b", out val)) {
# 134| throw new ConfigurationError.NO_VALUE_SET (_("No value available"));
# 135| } else {
Error: CLANG_WARNING: [#def428]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:167:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 165| }
# 166|
# 167|-> public string get_media_engine () throws GLib.Error {
# 168| // We don't support setting this via commandline
# 169| throw new ConfigurationError.NO_VALUE_SET ("No value available");
Error: CLANG_WARNING: [#def429]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:176:2: warning[deadcode.DeadStores]: Value stored to '_disabled_plugins_size_' is never read
# 174| [CCode (array_length=false, array_null_terminated = true)]
# 175| private string[] get_string_list_from_options (string key) throws GLib.Error {
# 176|-> string[] disabled_plugins = null;
# 177|
# 178| if (!options.lookup (key, "^as", out disabled_plugins)) {
Error: CLANG_WARNING: [#def430]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:178:2: warning[deadcode.DeadStores]: Value stored to '_disabled_plugins_size_' is never read
# 176| string[] disabled_plugins = null;
# 177|
# 178|-> if (!options.lookup (key, "^as", out disabled_plugins)) {
# 179| throw new ConfigurationError.NO_VALUE_SET (_("No value available"));
# 180| }
Error: CLANG_WARNING: [#def431]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:186:2: warning[deadcode.DeadStores]: Value stored to '__tmp0__size_' is never read
# 184|
# 185| public bool get_enabled (string section) throws GLib.Error {
# 186|-> foreach (var plugin in get_string_list_from_options ("disable-plugin")) {
# 187| print ("Checking %s against %s\n", section, plugin);
# 188| if (section == plugin)
Error: CLANG_WARNING: [#def432]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:186:23: warning[core.NullDereference]: Array access (from variable 'plugin_collection') results in a null pointer dereference
# 184|
# 185| public bool get_enabled (string section) throws GLib.Error {
# 186|-> foreach (var plugin in get_string_list_from_options ("disable-plugin")) {
# 187| print ("Checking %s against %s\n", section, plugin);
# 188| if (section == plugin)
Error: CLANG_WARNING: [#def433]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:196:2: warning[deadcode.DeadStores]: Value stored to '_plugin_titles_size_' is never read
# 194|
# 195| public string get_title (string section) throws GLib.Error {
# 196|-> var plugin_titles = this.get_string_list_from_options ("plugin-title");
# 197|
# 198| foreach (var entry in plugin_titles) {
Error: CLANG_WARNING: [#def434]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:198:23: warning[core.NullDereference]: Array access (from variable 'entry_collection') results in a null pointer dereference
# 196| var plugin_titles = this.get_string_list_from_options ("plugin-title");
# 197|
# 198|-> foreach (var entry in plugin_titles) {
# 199| var tokens = entry.split (":", 2);
# 200| if (tokens[0] != null &&
Error: CLANG_WARNING: [#def435]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:199:5: warning[deadcode.DeadStores]: Value stored to '_tokens_size_' is never read
# 197|
# 198| foreach (var entry in plugin_titles) {
# 199|-> var tokens = entry.split (":", 2);
# 200| if (tokens[0] != null &&
# 201| tokens[1] != null &&
Error: CLANG_WARNING: [#def436]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:200:5: warning[deadcode.DeadStores]: Value stored to '_tmp9__length1' is never read
# 198| foreach (var entry in plugin_titles) {
# 199| var tokens = entry.split (":", 2);
# 200|-> if (tokens[0] != null &&
# 201| tokens[1] != null &&
# 202| tokens[0] == section) {
Error: CLANG_WARNING: [#def437]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:201:6: warning[deadcode.DeadStores]: Value stored to '_tmp11__length1' is never read
# 199| var tokens = entry.split (":", 2);
# 200| if (tokens[0] != null &&
# 201|-> tokens[1] != null &&
# 202| tokens[0] == section) {
# 203| return tokens[1];
Error: CLANG_WARNING: [#def438]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:202:6: warning[deadcode.DeadStores]: Value stored to '_tmp13__length1' is never read
# 200| if (tokens[0] != null &&
# 201| tokens[1] != null &&
# 202|-> tokens[0] == section) {
# 203| return tokens[1];
# 204| }
Error: CLANG_WARNING: [#def439]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:203:6: warning[deadcode.DeadStores]: Value stored to '_tmp15__length1' is never read
# 201| tokens[1] != null &&
# 202| tokens[0] == section) {
# 203|-> return tokens[1];
# 204| }
# 205| }
Error: CLANG_WARNING: [#def440]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:219:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 217| }
# 218|
# 219|-> public string? get_video_upload_folder () throws GLib.Error {
# 220| throw new ConfigurationError.NO_VALUE_SET (_("No value available"));
# 221| }
Error: CLANG_WARNING: [#def441]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:223:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 221| }
# 222|
# 223|-> public string? get_music_upload_folder () throws GLib.Error {
# 224| throw new ConfigurationError.NO_VALUE_SET (_("No value available"));
# 225| }
Error: CLANG_WARNING: [#def442]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:227:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 225| }
# 226|
# 227|-> public string? get_picture_upload_folder () throws GLib.Error {
# 228| throw new ConfigurationError.NO_VALUE_SET (_("No value available"));
# 229| }
Error: CLANG_WARNING: [#def443]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:235:2: warning[deadcode.DeadStores]: Value stored to '_plugin_options_size_' is never read
# 233| public string get_string (string section,
# 234| string key) throws GLib.Error {
# 235|-> var plugin_options = this.get_string_list_from_options ("plugin-option");
# 236|
# 237| foreach (var option in plugin_options) {
Error: CLANG_WARNING: [#def444]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:237:23: warning[core.NullDereference]: Array access (from variable 'option_collection') results in a null pointer dereference
# 235| var plugin_options = this.get_string_list_from_options ("plugin-option");
# 236|
# 237|-> foreach (var option in plugin_options) {
# 238| var tokens = option.split (":", 3);
# 239| if (tokens[0] != null &&
Error: CLANG_WARNING: [#def445]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:238:5: warning[deadcode.DeadStores]: Value stored to '_tokens_size_' is never read
# 236|
# 237| foreach (var option in plugin_options) {
# 238|-> var tokens = option.split (":", 3);
# 239| if (tokens[0] != null &&
# 240| tokens[1] != null &&
Error: CLANG_WARNING: [#def446]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:239:5: warning[deadcode.DeadStores]: Value stored to '_tmp11__length1' is never read
# 237| foreach (var option in plugin_options) {
# 238| var tokens = option.split (":", 3);
# 239|-> if (tokens[0] != null &&
# 240| tokens[1] != null &&
# 241| tokens[2] != null &&
Error: CLANG_WARNING: [#def447]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:240:6: warning[deadcode.DeadStores]: Value stored to '_tmp13__length1' is never read
# 238| var tokens = option.split (":", 3);
# 239| if (tokens[0] != null &&
# 240|-> tokens[1] != null &&
# 241| tokens[2] != null &&
# 242| tokens[0] == section &&
Error: CLANG_WARNING: [#def448]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:241:6: warning[deadcode.DeadStores]: Value stored to '_tmp15__length1' is never read
# 239| if (tokens[0] != null &&
# 240| tokens[1] != null &&
# 241|-> tokens[2] != null &&
# 242| tokens[0] == section &&
# 243| tokens[1] == key) {
Error: CLANG_WARNING: [#def449]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:242:6: warning[deadcode.DeadStores]: Value stored to '_tmp17__length1' is never read
# 240| tokens[1] != null &&
# 241| tokens[2] != null &&
# 242|-> tokens[0] == section &&
# 243| tokens[1] == key) {
# 244| return tokens[2];
Error: CLANG_WARNING: [#def450]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:243:6: warning[deadcode.DeadStores]: Value stored to '_tmp19__length1' is never read
# 241| tokens[2] != null &&
# 242| tokens[0] == section &&
# 243|-> tokens[1] == key) {
# 244| return tokens[2];
# 245| }
Error: CLANG_WARNING: [#def451]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-cmdline-config.vala:244:6: warning[deadcode.DeadStores]: Value stored to '_tmp21__length1' is never read
# 242| tokens[0] == section &&
# 243| tokens[1] == key) {
# 244|-> return tokens[2];
# 245| }
# 246| }
Error: COMPILER_WARNING (CWE-477): [#def452]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-configuration.vala: scope_hint: In function ‘rygel_configuration_get_interface’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-configuration.vala:76:2: warning[-Wdeprecated-declarations]: ‘get_interface’ is deprecated
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-user-config-test.p/rygel-configuration.c:101:18: note: declared here
# 74|
# 75| [Version (deprecated=true, deprecated_since="0.19.2", replacement="get_interfaces")]
# 76|-> public abstract string get_interface () throws GLib.Error;
# 77|
# 78| [CCode (array_length=false, array_null_terminated = true)]
Error: COMPILER_WARNING (CWE-477): [#def453]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-configuration.vala:76:3: warning[-Wdeprecated-declarations]: ‘get_interface’ is deprecated
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-user-config-test.p/rygel-configuration.c:101:18: note: declared here
# 74|
# 75| [Version (deprecated=true, deprecated_since="0.19.2", replacement="get_interfaces")]
# 76|-> public abstract string get_interface () throws GLib.Error;
# 77|
# 78| [CCode (array_length=false, array_null_terminated = true)]
Error: COMPILER_WARNING (CWE-704): [#def454]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala: scope_hint: In function ‘rygel_description_file_get_friendly_name’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala:165:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 163| */
# 164| public string get_friendly_name () {
# 165|-> var element = Rygel.XMLUtils.get_element ((Xml.Node *) this.doc.get_doc (),
# 166| "root",
# 167| "device",
Error: COMPILER_WARNING (CWE-704): [#def455]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala: scope_hint: In function ‘rygel_description_file_get_udn’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala:191:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 189| */
# 190| public string? get_udn () {
# 191|-> var element = Rygel.XMLUtils.get_element ((Xml.Node *) this.doc.get_doc (),
# 192| "root",
# 193| "device",
Error: CLANG_WARNING: [#def456]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala:300:2: warning[deadcode.DeadStores]: Value stored to '_tmp17_' is never read
# 298| // Set the flags we found; otherwise remove whatever is in the
# 299| // template.
# 300|-> if (flags.length > 0) {
# 301| var content = string.joinv (",", flags);
# 302| this.set_device_element ("X_DLNACAP", content, "dlna");
Error: COMPILER_WARNING (CWE-704): [#def457]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala: scope_hint: In function ‘rygel_description_file_get_device_element’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala:378:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 376|
# 377| private Xml.Node* get_device_element () {
# 378|-> return Rygel.XMLUtils.get_element
# 379| ((Xml.Node *) this.doc.get_doc (),
# 380| "root",
Error: COMPILER_WARNING (CWE-704): [#def458]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala: scope_hint: In function ‘rygel_description_file_apply_xpath’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala:385:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 383|
# 384| private bool apply_xpath (string xpath, out Xml.XPath.Object *xpo) {
# 385|-> var context = new XPath.Context (this.doc.get_doc ());
# 386| var result = context.eval_expression (xpath);
# 387|
Error: COMPILER_WARNING (CWE-704): [#def459]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala: scope_hint: In function ‘rygel_description_file_add_service’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala:402:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 400|
# 401| public void add_service (string device_name, ResourceInfo resource_info) {
# 402|-> var list = Rygel.XMLUtils.get_element
# 403| ((Xml.Node *) this.doc.get_doc (),
# 404| "root",
Error: COMPILER_WARNING (CWE-704): [#def460]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala: scope_hint: In function ‘rygel_description_file_add_icon’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala:434:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 432| IconInfo icon_info,
# 433| string url) {
# 434|-> var list = Rygel.XMLUtils.get_element
# 435| ((Xml.Node *) this.doc.get_doc (),
# 436| "root",
Error: CLANG_WARNING: [#def461]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala:490:2: warning[deadcode.DeadStores]: Value stored to 'len' is never read
# 488| public void save (string path) throws GLib.Error {
# 489| string mem = null;
# 490|-> int len = -1;
# 491| doc.get_doc ().dump_memory_enc (out mem, out len, "UTF-8");
# 492|
Error: COMPILER_WARNING (CWE-704): [#def462]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala: scope_hint: In function ‘rygel_description_file_save’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala:491:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 489| string mem = null;
# 490| int len = -1;
# 491|-> doc.get_doc ().dump_memory_enc (out mem, out len, "UTF-8");
# 492|
# 493| if (unlikely (len <= 0)) {
Error: CLANG_WARNING: [#def463]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala:502:5: warning[deadcode.DeadStores]: Value stored to '_tmp2_' is never read
# 500|
# 501| private int index_of_device_element (string element) {
# 502|-> for (var i = 0; i < this.device_elements.length; i++) {
# 503| if (this.device_elements[i] == element) {
# 504| return i;
Error: CLANG_WARNING: [#def464]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala:503:5: warning[deadcode.DeadStores]: Value stored to '_tmp3__length1' is never read
# 501| private int index_of_device_element (string element) {
# 502| for (var i = 0; i < this.device_elements.length; i++) {
# 503|-> if (this.device_elements[i] == element) {
# 504| return i;
# 505| }
Error: COMPILER_WARNING (CWE-704): [#def465]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala: scope_hint: In function ‘rygel_description_file_set_device_element’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala:523:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 521| string? new_value,
# 522| string? ns = null) {
# 523|-> var xml_element = Rygel.XMLUtils.get_element
# 524| ((Xml.Node *) this.doc.get_doc (),
# 525| "root",
Error: COMPILER_WARNING (CWE-704): [#def466]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala:534:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 532|
# 533| // Element not found: create it
# 534|-> var device_element = Rygel.XMLUtils.get_element
# 535| ((Xml.Node *) this.doc.get_doc (),
# 536| "root",
Error: COMPILER_WARNING (CWE-704): [#def467]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala:541:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 539| Xml.Ns *xml_ns = null;
# 540| if (ns != null) {
# 541|-> xml_ns = this.doc.get_doc ().search_ns(device_element, ns);
# 542| }
# 543|
Error: COMPILER_WARNING (CWE-681): [#def468]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala:541:44: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘xmlSearchNs’ differ in signedness
# 541 | xml_ns = this.doc.get_doc ().search_ns(device_element, ns);
# | ^~
# | |
# | const gchar * {aka const char *}
/usr/include/libxml2/libxml/parser.h:15: included_from: Included from here.
/usr/include/libxml2/libxml/tree.h:17: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp-device-info.h:13: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp-device-proxy.h:12: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp-control-point.h:16: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp-context-manager.h:16: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp.h:11: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/rygel-core.h:6: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-description-file.c:28: included_from: Included from here.
/usr/include/libxml2/libxml/tree.h:1026:57: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘const gchar *’ {aka ‘const char *’}
# 1026 | const xmlChar *nameSpace);
# | ~~~~~~~~~~~~~~~^~~~~~~~~
# 539| Xml.Ns *xml_ns = null;
# 540| if (ns != null) {
# 541|-> xml_ns = this.doc.get_doc ().search_ns(device_element, ns);
# 542| }
# 543|
Error: CLANG_WARNING: [#def469]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala:552:5: warning[deadcode.DeadStores]: Value stored to '_tmp21__length1' is never read
# 550| Xml.Node* sibling = null;
# 551| for (index--; index > 0; index--) {
# 552|-> sibling = Rygel.XMLUtils.get_element
# 553| ((Xml.Node *) this.doc.get_doc (),
# 554| "root",
Error: COMPILER_WARNING (CWE-704): [#def470]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala:552:13: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 550| Xml.Node* sibling = null;
# 551| for (index--; index > 0; index--) {
# 552|-> sibling = Rygel.XMLUtils.get_element
# 553| ((Xml.Node *) this.doc.get_doc (),
# 554| "root",
Error: COMPILER_WARNING (CWE-704): [#def471]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala: scope_hint: In function ‘rygel_description_file_remove_device_element’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-description-file.vala:582:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 580| */
# 581| private void remove_device_element (string element) {
# 582|-> var xml_element = Rygel.XMLUtils.get_element
# 583| ((Xml.Node *) this.doc.get_doc (),
# 584| "root",
Error: CLANG_WARNING: [#def472]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-energy-management.vala:126:2: warning[deadcode.DeadStores]: Value stored to 'success' is never read
# 124|
# 125| string mac_address, type;
# 126|-> bool success = true;
# 127|
# 128| var iface = this.root_device.context.interface;
Error: COMPILER_WARNING (CWE-477): [#def473]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-environment-config.vala: scope_hint: In function ‘rygel_environment_config_rygel_configuration_interface_init’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-environment-config.vala:32:2: warning[-Wdeprecated-declarations]: ‘get_interface’ is deprecated
# 32 | public class Rygel.EnvironmentConfig : GLib.Object, Configuration {
# | ^~~~~
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-environment-config.c:30: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/rygel-core.h:513:18: note: declared here
# 513 | gchar* (*get_interface) (RygelConfiguration* self, GError** error) G_GNUC_DEPRECATED ;
# | ^~~~~~~~~~~~~
# 30| * Manages configuration from Environment.
# 31| */
# 32|-> public class Rygel.EnvironmentConfig : GLib.Object, Configuration {
# 33| private static string RYGEL_PREFIX = "RYGEL";
# 34| private static string TITLE_KEY = "TITLE";
Error: CLANG_WARNING: [#def474]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-environment-config.vala:32:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 30| * Manages configuration from Environment.
# 31| */
# 32|-> public class Rygel.EnvironmentConfig : GLib.Object, Configuration {
# 33| private static string RYGEL_PREFIX = "RYGEL";
# 34| private static string TITLE_KEY = "TITLE";
Error: CLANG_WARNING: [#def475]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-environment-config.vala:64:11: warning[deadcode.DeadStores]: Although the value stored to '_tmp3_' is used in the enclosing expression, the value is never actually read from '_tmp3_'
# 62| [CCode (array_length=false, array_null_terminated = true)]
# 63| public string[] get_interfaces () throws GLib.Error {
# 64|-> return this.get_string_variable (INTERFACE_ENV).split (",");
# 65| }
# 66|
Error: CLANG_WARNING: [#def476]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-environment-config.vala:99:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 97| }
# 98|
# 99|-> public string? get_video_upload_folder () throws GLib.Error {
# 100| throw new ConfigurationError.NO_VALUE_SET (_("No value available"));
# 101| }
Error: CLANG_WARNING: [#def477]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-environment-config.vala:103:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 101| }
# 102|
# 103|-> public string? get_music_upload_folder () throws GLib.Error {
# 104| throw new ConfigurationError.NO_VALUE_SET (_("No value available"));
# 105| }
Error: CLANG_WARNING: [#def478]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-environment-config.vala:107:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 105| }
# 106|
# 107|-> public string? get_picture_upload_folder () throws GLib.Error {
# 108| throw new ConfigurationError.NO_VALUE_SET (_("No value available"));
# 109| }
Error: CLANG_WARNING: [#def479]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-log-handler.vala:73:5: warning[deadcode.DeadStores]: Value stored to '_tokens_size_' is never read
# 71|
# 72| foreach (var pair in log_levels.split (",")) {
# 73|-> var tokens = pair.split (":");
# 74| if (tokens.length < 1) {
# 75| break;
Error: CLANG_WARNING: [#def480]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-log-handler.vala:74:5: warning[deadcode.DeadStores]: Value stored to '_tmp16_' is never read
# 72| foreach (var pair in log_levels.split (",")) {
# 73| var tokens = pair.split (":");
# 74|-> if (tokens.length < 1) {
# 75| break;
# 76| }
Error: CLANG_WARNING: [#def481]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-log-handler.vala:81:5: warning[deadcode.DeadStores]: Value stored to '_tmp17_' is never read
# 79| LogLevel level;
# 80|
# 81|-> if (tokens.length == 1) {
# 82| level = (LogLevel) int.parse (tokens[0]);
# 83| domain = "*";
Error: CLANG_WARNING: [#def482]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-log-handler.vala:82:6: warning[deadcode.DeadStores]: Value stored to '_tmp18__length1' is never read
# 80|
# 81| if (tokens.length == 1) {
# 82|-> level = (LogLevel) int.parse (tokens[0]);
# 83| domain = "*";
# 84| } else {
Error: CLANG_WARNING: [#def483]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-log-handler.vala:85:6: warning[deadcode.DeadStores]: Value stored to '_tmp21__length1' is never read
# 83| domain = "*";
# 84| } else {
# 85|-> domain = tokens[0];
# 86| level = (LogLevel) int.parse (tokens[1]);
# 87| }
Error: CLANG_WARNING: [#def484]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-log-handler.vala:86:6: warning[deadcode.DeadStores]: Value stored to '_tmp24__length1' is never read
# 84| } else {
# 85| domain = tokens[0];
# 86|-> level = (LogLevel) int.parse (tokens[1]);
# 87| }
# 88|
Error: CLANG_WARNING: [#def485]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-log-handler.vala:117:2: warning[deadcode.DeadStores]: Value stored to 'flags' is never read
# 115|
# 116| private LogLevelFlags log_level_to_flags (LogLevel level) {
# 117|-> LogLevelFlags flags = DEFAULT_FLAGS;
# 118|
# 119| switch (level) {
Error: COMPILER_WARNING (CWE-704): [#def486]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-media-device.vala: scope_hint: In function ‘rygel_media_device_set_title’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-media-device.vala:51:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 51 | public string title { construct; protected get; }
# | ^
# 49|
# 50| public Rygel.Plugin plugin { construct set; protected get; }
# 51|-> public string title { construct; protected get; }
# 52| public PluginCapabilities capabilities {
# 53| construct;
Error: COMPILER_WARNING (CWE-477): [#def487]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala: scope_hint: In function ‘rygel_meta_config_rygel_configuration_interface_init’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:37:2: warning[-Wdeprecated-declarations]: ‘get_interface’ is deprecated
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/rygel-core.h:513:18: note: declared here
# 35| * the first one. If none of them provides the value, it emits an error.
# 36| */
# 37|-> public class Rygel.MetaConfig : GLib.Object, Configuration {
# 38| // Our singleton
# 39| private static MetaConfig meta_config;
Error: CLANG_WARNING: [#def488]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:37:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 35| * the first one. If none of them provides the value, it emits an error.
# 36| */
# 37|-> public class Rygel.MetaConfig : GLib.Object, Configuration {
# 38| // Our singleton
# 39| private static MetaConfig meta_config;
Error: CLANG_WARNING: [#def489]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:92:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 90| }
# 91|
# 92|-> public string get_interface () throws GLib.Error {
# 93| string val = null;
# 94| bool unavailable = true;
Error: COMPILER_WARNING (CWE-477): [#def490]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala: scope_hint: In function ‘rygel_meta_config_real_get_interface’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:98:5: warning[-Wdeprecated-declarations]: ‘rygel_configuration_get_interface’ is deprecated
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-meta-config.c:31: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/rygel-core.h:1027:20: note: declared here
# 96| foreach (var config in MetaConfig.configs) {
# 97| try {
# 98|-> val = config.get_interface ();
# 99| unavailable = false;
# 100| break;
Error: CLANG_WARNING: [#def491]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:112:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 110|
# 111| [CCode (array_length=false, array_null_terminated = true)]
# 112|-> public string[] get_interfaces () throws GLib.Error {
# 113| string[] val = null;
# 114| bool unavailable = true;
Error: CLANG_WARNING: [#def492]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:113:2: warning[deadcode.DeadStores]: Value stored to '_val_size_' is never read
# 111| [CCode (array_length=false, array_null_terminated = true)]
# 112| public string[] get_interfaces () throws GLib.Error {
# 113|-> string[] val = null;
# 114| bool unavailable = true;
# 115|
Error: CLANG_WARNING: [#def493]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:118:5: warning[deadcode.DeadStores]: Value stored to '__tmp8__size_' is never read
# 116| foreach (var config in MetaConfig.configs) {
# 117| try {
# 118|-> val = config.get_interfaces ();
# 119| unavailable = false;
# 120| break;
Error: CLANG_WARNING: [#def494]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:118:5: warning[deadcode.DeadStores]: Value stored to '_val_size_' is never read
# 116| foreach (var config in MetaConfig.configs) {
# 117| try {
# 118|-> val = config.get_interfaces ();
# 119| unavailable = false;
# 120| break;
Error: CLANG_WARNING: [#def495]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:131:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 129| }
# 130|
# 131|-> public int get_port () throws GLib.Error {
# 132| int val = 0;
# 133| bool unavailable = true;
Error: CLANG_WARNING: [#def496]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:150:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 148| }
# 149|
# 150|-> public bool get_transcoding () throws GLib.Error {
# 151| bool val = true;
# 152| bool unavailable = true;
Error: CLANG_WARNING: [#def497]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:169:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 167| }
# 168|
# 169|-> public bool get_allow_upload () throws GLib.Error {
# 170| bool val = true;
# 171| bool unavailable = true;
Error: CLANG_WARNING: [#def498]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:188:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 186| }
# 187|
# 188|-> public bool get_allow_deletion () throws GLib.Error {
# 189| bool val = true;
# 190| bool unavailable = true;
Error: CLANG_WARNING: [#def499]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:207:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 205| }
# 206|
# 207|-> public string get_log_levels () throws GLib.Error {
# 208| string val = null;
# 209| bool unavailable = true;
Error: CLANG_WARNING: [#def500]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:226:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 224| }
# 225|
# 226|-> public string get_plugin_path () throws GLib.Error {
# 227| string val = null;
# 228| bool unavailable = true;
Error: CLANG_WARNING: [#def501]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:245:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 243| }
# 244|
# 245|-> public string get_media_engine () throws GLib.Error {
# 246| string val = null;
# 247| bool unavailable = true;
Error: CLANG_WARNING: [#def502]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:264:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 262| }
# 263|
# 264|-> public string get_engine_path () throws GLib.Error {
# 265| string val = null;
# 266| bool unavailable = true;
Error: CLANG_WARNING: [#def503]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:283:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 281| }
# 282|
# 283|-> public string? get_video_upload_folder () throws GLib.Error {
# 284| unowned string? default = Environment.get_user_special_dir
# 285| (UserDirectory.VIDEOS);
Error: CLANG_WARNING: [#def504]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:301:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 299| }
# 300|
# 301|-> public string? get_music_upload_folder () throws GLib.Error {
# 302| unowned string? default = Environment.get_user_special_dir
# 303| (UserDirectory.MUSIC);
Error: CLANG_WARNING: [#def505]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:320:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 318| }
# 319|
# 320|-> public string? get_picture_upload_folder () throws GLib.Error {
# 321| unowned string? default = Environment.get_user_special_dir
# 322| (UserDirectory.PICTURES);
Error: CLANG_WARNING: [#def506]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:338:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 336| }
# 337|
# 338|-> public bool get_enabled (string section) throws GLib.Error {
# 339| bool val = true;
# 340| bool unavailable = true;
Error: CLANG_WARNING: [#def507]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:359:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 357| }
# 358|
# 359|-> public string get_title (string section) throws GLib.Error {
# 360| string val = null;
# 361|
Error: CLANG_WARNING: [#def508]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:378:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 376| }
# 377|
# 378|-> public string get_string (string section,
# 379| string key) throws GLib.Error {
# 380| string val = null;
Error: CLANG_WARNING: [#def509]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:399:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 397| }
# 398|
# 399|-> public Gee.ArrayList<string> get_string_list (string section,
# 400| string key)
# 401| throws GLib.Error {
Error: CLANG_WARNING: [#def510]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:421:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 419| }
# 420|
# 421|-> public int get_int (string section,
# 422| string key,
# 423| int min,
Error: CLANG_WARNING: [#def511]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:447:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 445| }
# 446|
# 447|-> public Gee.ArrayList<int> get_int_list (string section,
# 448| string key)
# 449| throws GLib.Error {
Error: CLANG_WARNING: [#def512]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-meta-config.vala:469:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 467| }
# 468|
# 469|-> public bool get_bool (string section,
# 470| string key)
# 471| throws GLib.Error {
Error: COMPILER_WARNING (CWE-704): [#def513]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-plugin-information.vala: scope_hint: In function ‘rygel_plugin_information_set_module_path’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-plugin-information.vala:39:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 39 | public string module_path { get; construct; }
# | ^
# 37| public class Rygel.PluginInformation : Object {
# 38| /// Full path to the loadable module file
# 39|-> public string module_path { get; construct; }
# 40|
# 41| /// Name of this module
Error: COMPILER_WARNING (CWE-704): [#def514]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-plugin-information.vala: scope_hint: In function ‘rygel_plugin_information_set_name’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-plugin-information.vala:42:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 42 | public string name { get; construct; }
# | ^
# 40|
# 41| /// Name of this module
# 42|-> public string name { get; construct; }
# 43|
# 44| /// Name of other plugins this plugin conflicts with
Error: CLANG_WARNING: [#def515]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-plugin-information.vala:85:3: warning[deadcode.DeadStores]: Value stored to '__tmp26__size_' is never read
# 83| var conflicts = new GenericSet<string>(str_hash, str_equal);
# 84| try {
# 85|-> foreach (var other_name in keyfile.get_string_list ("Plugin", "Conflicts")) {
# 86| other_name.strip();
# 87| conflicts.add (other_name);
Error: CLANG_WARNING: [#def516]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-plugin-loader.vala:137:2: warning[deadcode.DeadStores]: Value stored to '_tmp21__target' is never read
# 135|
# 136| unowned ModuleInitFunc module_init = (ModuleInitFunc) function;
# 137|-> assert (module_init != null);
# 138| this.loaded_modules.add (module_file.get_basename ());
# 139|
Error: COMPILER_WARNING (CWE-704): [#def517]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-plugin.vala: scope_hint: In function ‘rygel_plugin_set_name’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-plugin.vala:107:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 107 | public string name { get; construct; }
# | ^
# 105| public PluginCapabilities capabilities { get; construct set; }
# 106|
# 107|-> public string name { get; construct; }
# 108| public string title { get; construct set; }
# 109| public string description { get; construct; }
Error: COMPILER_WARNING (CWE-704): [#def518]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-plugin.vala: scope_hint: In function ‘rygel_plugin_set_title’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-plugin.vala:108:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 108 | public string title { get; construct set; }
# | ^
# 106|
# 107| public string name { get; construct; }
# 108|-> public string title { get; construct set; }
# 109| public string description { get; construct; }
# 110|
Error: COMPILER_WARNING (CWE-704): [#def519]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-plugin.vala: scope_hint: In function ‘rygel_plugin_set_description’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-plugin.vala:109:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 109 | public string description { get; construct; }
# | ^
# 107| public string name { get; construct; }
# 108| public string title { get; construct set; }
# 109|-> public string description { get; construct; }
# 110|
# 111| // Path to description document
Error: COMPILER_WARNING (CWE-704): [#def520]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-plugin.vala: scope_hint: In function ‘rygel_plugin_set_desc_path’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-plugin.vala:112:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 112 | public string desc_path { get; construct; }
# | ^
# 110|
# 111| // Path to description document
# 112|-> public string desc_path { get; construct; }
# 113|
# 114| public bool active { get; set; }
Error: CLANG_WARNING: [#def521]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-recursive-module-loader.vala:31:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 29| * dynamic module file.
# 30| */
# 31|-> public abstract class Rygel.RecursiveModuleLoader : Object {
# 32| private const string LOADER_ATTRIBUTES =
# 33| FileAttribute.STANDARD_NAME + "," +
Error: COMPILER_WARNING (CWE-704): [#def522]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-recursive-module-loader.vala: scope_hint: In function ‘rygel_recursive_module_loader_set_base_path’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-recursive-module-loader.vala:41:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 39| private bool done;
# 40|
# 41|-> public string base_path { construct set; get; }
# 42|
# 43| /**
Error: CLANG_WARNING: [#def523]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-recursive-module-loader.vala:101:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 99| var info = enumerator.next_file (cancellable);
# 100| while (info != null) {
# 101|-> this.handle_file_info (folder, info, (subfolder) => {
# 102| queue.push_head (subfolder);
# 103| });
Error: CLANG_WARNING: [#def524]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-root-device-factory.vala:44:4: warning[deadcode.DeadStores]: Value stored to '_lines_size_' is never read
# 42| FileUtils.get_contents ("/etc/machine-info", out machine_info);
# 43|
# 44|-> var lines = machine_info.split ("\n");
# 45|
# 46| foreach (var line in lines) {
Error: CLANG_WARNING: [#def525]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-root-device-factory.vala:47:7: warning[deadcode.DeadStores]: Value stored to '_parts_size_' is never read
# 45|
# 46| foreach (var line in lines) {
# 47|-> var parts = line.split ("=");
# 48|
# 49| if (parts[0] == "PRETTY_HOSTNAME") {
Error: CLANG_WARNING: [#def526]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-root-device-factory.vala:49:7: warning[deadcode.DeadStores]: Value stored to '_tmp12__length1' is never read
# 47| var parts = line.split ("=");
# 48|
# 49|-> if (parts[0] == "PRETTY_HOSTNAME") {
# 50| pretty_host_name = string.joinv("=", parts[1:parts.length]);
# 51| }
Error: CLANG_WARNING: [#def527]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-root-device-factory.vala:50:8: warning[deadcode.DeadStores]: Value stored to '_tmp14__length1' is never read
# 48|
# 49| if (parts[0] == "PRETTY_HOSTNAME") {
# 50|-> pretty_host_name = string.joinv("=", parts[1:parts.length]);
# 51| }
# 52| }
Error: CLANG_WARNING: [#def528]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-root-device-factory.vala:50:8: warning[deadcode.DeadStores]: Value stored to '_tmp15_' is never read
# 48|
# 49| if (parts[0] == "PRETTY_HOSTNAME") {
# 50|-> pretty_host_name = string.joinv("=", parts[1:parts.length]);
# 51| }
# 52| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def529]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-root-device-factory.vala: scope_hint: In function ‘rygel_root_device_factory_add_icons_to_desc’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-root-device-factory.vala:190:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gee_abstract_list_get(icons, _icon_index)’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-root-device-factory.vala:176:2: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-root-device-factory.vala:199:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-root-device-factory.vala:199:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-root-device-factory.vala:199:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-root-device-factory.vala:199:2: note: in expansion of macro ‘g_return_val_if_fail’
# 188| foreach (var icon in icons) {
# 189| var remote_path = this.get_icon_remote_path (icon, plugin);
# 190|-> if (icon.uri.has_prefix ("file://")) {
# 191| var local_path = icon.uri.substring (7);
# 192| this.context.host_path (local_path, remote_path);
Error: COMPILER_WARNING (CWE-477): [#def530]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-user-config.vala: scope_hint: In function ‘rygel_user_config_rygel_configuration_interface_init’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-user-config.vala:39:2: warning[-Wdeprecated-declarations]: ‘get_interface’ is deprecated
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-user-config.c:32: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/rygel-core.h:513:18: note: declared here
# 37| * Manages the user configuration for Rygel.
# 38| */
# 39|-> public class Rygel.UserConfig : GLib.Object, Configuration {
# 40| public const string GENERAL_SECTION = "general";
# 41| public const string CONFIG_FILE = "rygel.conf";
Error: COMPILER_WARNING (CWE-843): [#def531]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-user-config.vala: scope_hint: In function ‘rygel_user_config_real_get_interfaces’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-user-config.vala:152:13: warning[-Wincompatible-pointer-types]: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘void **’
# 150| [CCode (array_length=false, array_null_terminated = true)]
# 151| public string[] get_interfaces () throws GLib.Error {
# 152|-> var interfaces = this.get_string_list (GENERAL_SECTION,
# 153| IFACE_KEY).to_array ();
# 154| // to_array () is not null-terminated
Error: CLANG_WARNING: [#def532]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-user-config.vala:155:2: warning[deadcode.DeadStores]: Value stored to '_tmp4__length1' is never read
# 153| IFACE_KEY).to_array ();
# 154| // to_array () is not null-terminated
# 155|-> if (interfaces != null) {
# 156| interfaces += null;
# 157| }
Error: CLANG_WARNING: [#def533]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-user-config.vala:323:3: warning[deadcode.DeadStores]: Value stored to '__tmp1__size_' is never read
# 321|
# 322| try {
# 323|-> strings = key_file.get_string_list (section, key);
# 324| } catch (KeyFileError error) {
# 325| if (error is KeyFileError.KEY_NOT_FOUND ||
Error: CLANG_WARNING: [#def534]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-user-config.vala:323:3: warning[deadcode.DeadStores]: Value stored to '_strings_size_' is never read
# 321|
# 322| try {
# 323|-> strings = key_file.get_string_list (section, key);
# 324| } catch (KeyFileError error) {
# 325| if (error is KeyFileError.KEY_NOT_FOUND ||
Error: CLANG_WARNING: [#def535]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-user-config.vala:327:4: warning[deadcode.DeadStores]: Value stored to '__tmp8__size_' is never read
# 325| if (error is KeyFileError.KEY_NOT_FOUND ||
# 326| error is KeyFileError.GROUP_NOT_FOUND) {
# 327|-> strings = sys_key_file.get_string_list (section, key);
# 328| } else {
# 329| throw error;
Error: CLANG_WARNING: [#def536]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-user-config.vala:327:4: warning[deadcode.DeadStores]: Value stored to '_strings_size_' is never read
# 325| if (error is KeyFileError.KEY_NOT_FOUND ||
# 326| error is KeyFileError.GROUP_NOT_FOUND) {
# 327|-> strings = sys_key_file.get_string_list (section, key);
# 328| } else {
# 329| throw error;
Error: CLANG_WARNING: [#def537]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-user-config.vala:398:3: warning[deadcode.DeadStores]: Value stored to '__tmp1__size_' is never read
# 396|
# 397| try {
# 398|-> ints = key_file.get_integer_list (section, key);
# 399| } catch (KeyFileError error) {
# 400| if (error is KeyFileError.KEY_NOT_FOUND ||
Error: CLANG_WARNING: [#def538]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-user-config.vala:398:3: warning[deadcode.DeadStores]: Value stored to '_ints_size_' is never read
# 396|
# 397| try {
# 398|-> ints = key_file.get_integer_list (section, key);
# 399| } catch (KeyFileError error) {
# 400| if (error is KeyFileError.KEY_NOT_FOUND ||
Error: CLANG_WARNING: [#def539]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-user-config.vala:398:3: warning[deadcode.DeadStores]: Value stored to '_tmp1__length1' is never read
# 396|
# 397| try {
# 398|-> ints = key_file.get_integer_list (section, key);
# 399| } catch (KeyFileError error) {
# 400| if (error is KeyFileError.KEY_NOT_FOUND ||
Error: CLANG_WARNING: [#def540]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-user-config.vala:402:4: warning[deadcode.DeadStores]: Value stored to '__tmp8__size_' is never read
# 400| if (error is KeyFileError.KEY_NOT_FOUND ||
# 401| error is KeyFileError.GROUP_NOT_FOUND) {
# 402|-> ints = sys_key_file.get_integer_list (section, key);
# 403| } else {
# 404| throw error;
Error: CLANG_WARNING: [#def541]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-user-config.vala:402:4: warning[deadcode.DeadStores]: Value stored to '_ints_size_' is never read
# 400| if (error is KeyFileError.KEY_NOT_FOUND ||
# 401| error is KeyFileError.GROUP_NOT_FOUND) {
# 402|-> ints = sys_key_file.get_integer_list (section, key);
# 403| } else {
# 404| throw error;
Error: CLANG_WARNING: [#def542]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-user-config.vala:402:4: warning[deadcode.DeadStores]: Value stored to '_tmp8__length1' is never read
# 400| if (error is KeyFileError.KEY_NOT_FOUND ||
# 401| error is KeyFileError.GROUP_NOT_FOUND) {
# 402|-> ints = sys_key_file.get_integer_list (section, key);
# 403| } else {
# 404| throw error;
Error: CLANG_WARNING: [#def543]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-user-config.vala:494:3: warning[deadcode.DeadStores]: Value stored to '__tmp1__size_' is never read
# 492|
# 493| try {
# 494|-> foreach (var key in key_file.get_keys (section)) {
# 495| keys.add (key);
# 496| }
Error: CLANG_WARNING: [#def544]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-user-config.vala:500:3: warning[deadcode.DeadStores]: Value stored to '__tmp6__size_' is never read
# 498|
# 499| try {
# 500|-> foreach (var key in sys_key_file.get_keys (section)) {
# 501| keys.add (key);
# 502| }
Error: CLANG_WARNING: [#def545]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-user-config.vala:610:4: warning[deadcode.DeadStores]: Value stored to 'emit' is never read
# 608| // here we compare raw values - we have no
# 609| // knowledge about type of the setting.
# 610|-> var emit = false;
# 611|
# 612| try {
Error: COMPILER_WARNING (CWE-843): [#def546]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-v1-hacks.vala: scope_hint: In function ‘rygel_v1_hacks_real_constructed’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-v1-hacks.vala:75:30: warning[-Wincompatible-pointer-types]: passing argument 1 of ‘_vala_array_dup2’ from incompatible pointer type
# 75 | var defaults = new Gee.ArrayList<string>.wrap (AGENTS, (Gee.EqualDataFunc<string>?)str_equal);
# | ^~~~~~~~~~~~~~~~~~~~~
# | |
# | const gchar ** {aka const char **}
rygel-v1-hacks.c:146:27: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
# 73|
# 74| if (V1Hacks.agent_matcher == null) {
# 75|-> var defaults = new Gee.ArrayList<string>.wrap (AGENTS, (Gee.EqualDataFunc<string>?)str_equal);
# 76| var config = MetaConfig.get_default ();
# 77| var agents = config.get_string_list_with_default ("general", "force-downgrade-for", defaults);
Error: COMPILER_WARNING (CWE-843): [#def547]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-v1-hacks.vala:75:104: warning[-Wincompatible-pointer-types]: passing argument 4 of ‘gee_array_list_new_wrap’ from incompatible pointer type
# 75 | var defaults = new Gee.ArrayList<string>.wrap (AGENTS, (Gee.EqualDataFunc<string>?)str_equal);
# | ^~~
# | |
# | gchar ** {aka char **}
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/rygel-core.h:12: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/librygel-core-2.8.so.0.42.6.p/rygel-v1-hacks.c:28: included_from: Included from here.
/usr/include/gee-0.8/gee.h:1668:50: note: expected ‘void **’ but argument is of type ‘gchar **’ {aka ‘char **’}
# 1668 | gpointer* items,
# | ~~~~~~~~~~^~~~~
# 73|
# 74| if (V1Hacks.agent_matcher == null) {
# 75|-> var defaults = new Gee.ArrayList<string>.wrap (AGENTS, (Gee.EqualDataFunc<string>?)str_equal);
# 76| var config = MetaConfig.get_default ();
# 77| var agents = config.get_string_list_with_default ("general", "force-downgrade-for", defaults);
Error: COMPILER_WARNING (CWE-681): [#def548]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-xml-utils.vala: scope_hint: In function ‘rygel_xml_utils_get_namespace’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-xml-utils.vala:40:10: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 40 | if (ns->prefix == prefix) {
# | ^
# 38| ns = root->ns_def;
# 39| while (ns != null) {
# 40|-> if (ns->prefix == prefix) {
# 41| return ns;
# 42| }
Error: COMPILER_WARNING (CWE-681): [#def549]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-xml-utils.vala: scope_hint: In function ‘rygel_xml_utils_get_element’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-core/rygel-xml-utils.vala:61:13: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 61 | if (arg == ret->name)
# | ^
# 59|
# 60| for (ret = ret->children; ret != null; ret = ret->next)
# 61|-> if (arg == ret->name)
# 62| break;
# 63|
Error: CLANG_WARNING: [#def550]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-db/database-cursor.vala:76:6: warning[deadcode.DeadStores]: Value stored to '_tmp2_' is never read
# 74| this.current_state = -1;
# 75|
# 76|-> for (var i = 1; i <= arguments.length; ++i) {
# 77| unowned GLib.Value current_value = arguments[i - 1];
# 78|
Error: COMPILER_WARNING (CWE-704): [#def551]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-db/database.vala: scope_hint: In function ‘rygel_database_database_set_name’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-db/database.vala:74:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 74 | public string name { private get; construct set; }
# | ^
# 72| public class Rygel.Database.Database : Object, Initable {
# 73|
# 74|-> public string name { private get; construct set; }
# 75| public Flavor flavor { private get; construct set; default = Flavor.CACHE; }
# 76| public Flags flags {
Error: CLANG_WARNING: [#def552]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-db/database.vala:112:2: warning[deadcode.DeadStores]: Value stored to '__a_size_' is never read
# 110| public static int utf8_collate (int alen, void* a, int blen, void* b) {
# 111| // unowned to prevent array copy
# 112|-> unowned uint8[] _a = (uint8[]) a;
# 113| _a.length = alen;
# 114|
Error: CLANG_WARNING: [#def553]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-db/database.vala:115:2: warning[deadcode.DeadStores]: Value stored to '__b_size_' is never read
# 113| _a.length = alen;
# 114|
# 115|-> unowned uint8[] _b = (uint8[]) b;
# 116| _b.length = blen;
# 117|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def554]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-db/database.vala: scope_hint: In function ‘rygel_database_database_real_init’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-db/database.vala:168:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘base’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-db/database.vala:121:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/src/librygel-db/database.vala:121:2: note: in expansion of macro ‘g_return_val_if_fail’
# 166| public bool init (Cancellable? cancellable = null) throws Error {
# 167| var path = this.build_path ();
# 168|-> if (flags == Flags.READ_ONLY) {
# 169| Sqlite.Database.open_v2 (path, out this.db, Sqlite.OPEN_READONLY);
# 170| } else {
Error: CLANG_WARNING: [#def555]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer-gst/rygel-playbin-player.vala:318:2: warning[deadcode.DeadStores]: Value stored to 'dur' is never read
# 316| public int64 duration {
# 317| get {
# 318|-> int64 dur = 0;
# 319|
# 320| if (this.playbin.query_duration (Format.TIME, out dur)) {
Error: COMPILER_WARNING: [#def556]
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer-gst/rygel-playbin-player.vala: scope_hint: In function ‘rygel_playbin_player_real_seek’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer-gst/rygel-playbin-player.vala:412:11: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘gint64’ {aka ‘long int’}
# 412 | debug ("Seeking %lld usec, play speed %s", time, this._new_playback_speed);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
# | |
# | gint64 {aka long int}
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 410|
# 411| public bool seek (int64 time) {
# 412|-> debug ("Seeking %lld usec, play speed %s", time, this._new_playback_speed);
# 413|
# 414| // Playbin doesn't return false when seeking beyond the end of the
Error: COMPILER_WARNING: [#def557]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer-gst/rygel-playbin-player.vala: scope_hint: In function ‘rygel_playbin_player_real_seek_bytes’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer-gst/rygel-playbin-player.vala:424:11: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘gint64’ {aka ‘long int’}
# 424 | debug ("Seeking %lld bytes, play speed %s", bytes, this._new_playback_speed);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~
# | |
# | gint64 {aka long int}
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 422|
# 423| public bool seek_bytes (int64 bytes) {
# 424|-> debug ("Seeking %lld bytes, play speed %s", bytes, this._new_playback_speed);
# 425|
# 426| int64 size = this.size;
Error: CLANG_WARNING: [#def558]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer-gst/rygel-playbin-player.vala:434:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 432| }
# 433|
# 434|-> public string[] get_protocols () {
# 435| return protocols;
# 436| }
Error: COMPILER_WARNING (CWE-843): [#def559]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer-gst/rygel-playbin-player.vala: scope_hint: In function ‘rygel_playbin_player_real_get_protocols’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer-gst/rygel-playbin-player.vala:435:29: warning[-Wincompatible-pointer-types]: passing argument 1 of ‘_vala_array_dup1’ from incompatible pointer type
rygel-playbin-player.c:492:27: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
# 433|
# 434| public string[] get_protocols () {
# 435|-> return protocols;
# 436| }
# 437|
Error: CLANG_WARNING: [#def560]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer-gst/rygel-playbin-player.vala:438:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 436| }
# 437|
# 438|-> public string[] get_mime_types () {
# 439| return mime_types;
# 440| }
Error: COMPILER_WARNING (CWE-843): [#def561]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer-gst/rygel-playbin-player.vala: scope_hint: In function ‘rygel_playbin_player_real_get_mime_types’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer-gst/rygel-playbin-player.vala:439:29: warning[-Wincompatible-pointer-types]: passing argument 1 of ‘_vala_array_dup2’ from incompatible pointer type
rygel-playbin-player.c:555:27: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
# 437|
# 438| public string[] get_mime_types () {
# 439|-> return mime_types;
# 440| }
# 441|
Error: CLANG_WARNING: [#def562]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-av-transport.vala:32:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 30| using Soup;
# 31|
# 32|-> internal class Rygel.AVTransport : Service {
# 33| public const string UPNP_ID = "urn:upnp-org:serviceId:AVTransport";
# 34| public const string UPNP_TYPE =
Error: COMPILER_WARNING: [#def563]
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp-acl.h:12: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp.h:9: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-renderer/librygel-renderer-2.8.so.0.42.6.p/rygel-av-transport.c:32: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-av-transport.vala: scope_hint: In function ‘rygel_av_transport_seek_cb’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-av-transport.vala:526:14: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘long int’
# 526 | debug ("Seeking to %lld sec", seek_target / TimeSpan.SECOND);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 524| case "REL_TIME":
# 525| var seek_target = TimeUtils.time_from_string (target);
# 526|-> debug ("Seeking to %lld sec", seek_target / TimeSpan.SECOND);
# 527|
# 528| if (!this.player.can_seek) {
Error: COMPILER_WARNING: [#def564]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-av-transport.vala:551:14: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘gint64’ {aka ‘long int’}
# 551 | debug ("Seeking to %lld bytes.", seek_target);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | |
# | gint64 {aka long int}
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 549| seek_target += this.player.byte_position;
# 550| }
# 551|-> debug ("Seeking to %lld bytes.", seek_target);
# 552|
# 553| if (!this.player.can_seek_bytes) {
Error: CLANG_WARNING: [#def565]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-av-transport.vala:734:2: warning[deadcode.DeadStores]: Value stored to 'length' is never read
# 732| debug ("Trying to parse m3u playlist");
# 733| size_t length;
# 734|-> var line = stream.read_line (out length);
# 735| while (line != null) {
# 736|
Error: CLANG_WARNING: [#def566]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-av-transport.vala:739:4: warning[deadcode.DeadStores]: Value stored to 'length' is never read
# 737| // Swallow comments
# 738| while (line != null && line.has_prefix ("#")) {
# 739|-> line = stream.read_line (out length);
# 740| }
# 741|
Error: CLANG_WARNING: [#def567]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-av-transport.vala:756:3: warning[deadcode.DeadStores]: Value stored to 'length' is never read
# 754| resource.uri = line.strip ();
# 755|
# 756|-> line = stream.read_line (out length);
# 757| }
# 758|
Error: COMPILER_WARNING (CWE-704): [#def568]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-av-transport.vala: scope_hint: In function ‘rygel_av_transport_handle_playlist_co’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-av-transport.vala:799:19: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 799 | unowned string xml_string = (string) body.get_data();
# | ^
# 797| }
# 798| } else {
# 799|-> unowned string xml_string = (string) body.get_data();
# 800| collection = new MediaCollection.from_string (xml_string);
# 801| if (collection.get_items ().length () == 0) {
Error: COMPILER_WARNING (CWE-704): [#def569]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-default-player-controller.vala: scope_hint: In function ‘rygel_default_player_controller_set_protocol_info’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-default-player-controller.vala:52:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 52 | public string protocol_info { construct; private get; }
# | ^
# 50| /* private (construction) properties */
# 51| public MediaPlayer player { construct; private get; }
# 52|-> public string protocol_info { construct; private get; }
# 53|
# 54| /* public properties */
Error: CLANG_WARNING: [#def570]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-default-player-controller.vala:397:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 395| }
# 396|
# 397|-> public bool is_play_mode_valid (string play_mode) {
# 398| return play_mode == "NORMAL";
# 399| }
Error: CLANG_WARNING: [#def571]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-player.vala:133:2: warning[deadcode.DeadStores]: Value stored to '_rational_size_' is never read
# 131| protected double play_speed_to_double (string speed)
# 132| {
# 133|-> string[] rational = speed.split ("/", 2);
# 134|
# 135| assert (rational[0] != "0");
Error: CLANG_WARNING: [#def572]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-player.vala:135:2: warning[deadcode.DeadStores]: Value stored to '_tmp2__length1' is never read
# 133| string[] rational = speed.split ("/", 2);
# 134|
# 135|-> assert (rational[0] != "0");
# 136|
# 137| if (rational[1] == null) {
Error: CLANG_WARNING: [#def573]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-player.vala:137:2: warning[deadcode.DeadStores]: Value stored to '_tmp4__length1' is never read
# 135| assert (rational[0] != "0");
# 136|
# 137|-> if (rational[1] == null) {
# 138| return double.parse (rational[0]);
# 139| }
Error: CLANG_WARNING: [#def574]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-player.vala:138:3: warning[deadcode.DeadStores]: Value stored to '_tmp6__length1' is never read
# 136|
# 137| if (rational[1] == null) {
# 138|-> return double.parse (rational[0]);
# 139| }
# 140|
Error: CLANG_WARNING: [#def575]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-player.vala:141:2: warning[deadcode.DeadStores]: Value stored to '_tmp8__length1' is never read
# 139| }
# 140|
# 141|-> assert (rational[1] != "0");
# 142|
# 143| return double.parse (rational[0]) / double.parse (rational[1]);
Error: CLANG_WARNING: [#def576]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-player.vala:143:2: warning[deadcode.DeadStores]: Value stored to '_tmp10__length1' is never read
# 141| assert (rational[1] != "0");
# 142|
# 143|-> return double.parse (rational[0]) / double.parse (rational[1]);
# 144| }
# 145|
Error: CLANG_WARNING: [#def577]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-player.vala:143:2: warning[deadcode.DeadStores]: Value stored to '_tmp12__length1' is never read
# 141| assert (rational[1] != "0");
# 142|
# 143|-> return double.parse (rational[0]) / double.parse (rational[1]);
# 144| }
# 145|
Error: CLANG_WARNING: [#def578]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-player.vala:157:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 155| GUPnP.DIDLLiteObject item = null;
# 156|
# 157|-> p.item_available.connect ( (object) => { item = object; });
# 158| try {
# 159| p.parse_didl (this.metadata);
Error: CLANG_WARNING: [#def579]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-renderer-plugin.vala:118:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 116| }
# 117|
# 118|-> public override void apply_hacks (RootDevice device,
# 119| string description_path)
# 120| throws Error {
Error: CLANG_WARNING: [#def580]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-renderer-plugin.vala:121:2: warning[deadcode.DeadStores]: Value stored to '_services_size_' is never read
# 119| string description_path)
# 120| throws Error {
# 121|-> string[] services = { AVTransport.UPNP_TYPE,
# 122| RenderingControl.UPNP_TYPE,
# 123| ConnectionManager.UPNP_TYPE };
Error: CLANG_WARNING: [#def581]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-renderer-plugin.vala:141:3: warning[deadcode.DeadStores]: Value stored to '_protocols_size_' is never read
# 139| this.sink_protocol_info = "";
# 140|
# 141|-> var protocols = player.get_protocols ();
# 142|
# 143| foreach (var protocol in protocols) {
Error: CLANG_WARNING: [#def582]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-renderer-plugin.vala:144:6: warning[deadcode.DeadStores]: Value stored to '_tmp10__length1' is never read
# 142|
# 143| foreach (var protocol in protocols) {
# 144|-> if (protocols[0] != protocol) {
# 145| this.sink_protocol_info += ",";
# 146| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def583]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-renderer-plugin.vala: scope_hint: In function ‘rygel_media_renderer_plugin_get_protocol_info’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-renderer-plugin.vala:152:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-renderer-plugin.vala:132:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-renderer-plugin.vala:105:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-renderer-plugin.vala:143:14: note: in expansion of macro ‘g_strdup’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-renderer-plugin.vala: scope_hint: In function ‘rygel_media_renderer_plugin_get_protocol_info’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-renderer-plugin.vala:46:2: note: in expansion of macro ‘g_return_val_if_fail’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-renderer-plugin.vala: scope_hint: In function ‘rygel_media_renderer_plugin_get_protocol_info’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-renderer-plugin.vala:46:2: note: in expansion of macro ‘g_return_val_if_fail’
# 150| this.sink_protocol_info += ",";
# 151| }
# 152|-> this.sink_protocol_info += protocol + ":*:" +
# 153| profile.mime +
# 154| ":DLNA.ORG_PN=" + profile.name;
Error: CLANG_WARNING: [#def584]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-renderer-plugin.vala:166:6: warning[deadcode.DeadStores]: Value stored to '_tmp49__length1' is never read
# 164|
# 165| foreach (var protocol in protocols) {
# 166|-> if (protocols[0] != protocol ||
# 167| this.sink_protocol_info != "") {
# 168| this.sink_protocol_info += ",";
Error: CLANG_WARNING: [#def585]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-renderer-plugin.vala:172:9: warning[deadcode.DeadStores]: Value stored to '_tmp57__length1' is never read
# 170|
# 171| foreach (var mime_type in mime_types) {
# 172|-> if (mime_types[0] != mime_type) {
# 173| this.sink_protocol_info += ",";
# 174| }
Error: CLANG_WARNING: [#def586]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-media-renderer.vala:45:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 43| * <link linkend="implementing-renderers">Implementing Renderers</link> section.
# 44| */
# 45|-> public class Rygel.MediaRenderer : MediaDevice {
# 46| public unowned MediaPlayer player { construct; private get; }
# 47|
Error: COMPILER_WARNING: [#def587]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-time-utils.vala: scope_hint: In function ‘rygel_time_utils_time_from_string’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-time-utils.vala:46:18: warning[-Wformat=]: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 3 has type ‘guint64 *’ {aka ‘long unsigned int *’}
# 46 | time_str.scanf ("%llu:%2llu:%2llu.%3llu",
# | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
# | |
# | guint64 * {aka long unsigned int *}
# 44| }
# 45|
# 46|-> time_str.scanf ("%llu:%2llu:%2llu.%3llu",
# 47| out hours,
# 48| out minutes,
Error: COMPILER_WARNING: [#def588]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-time-utils.vala:46:18: warning[-Wformat=]: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 4 has type ‘guint64 *’ {aka ‘long unsigned int *’}
# 46 | time_str.scanf ("%llu:%2llu:%2llu.%3llu",
# | ^~~~~~~~~~~~~~~~~~~~~~~~
# | |
# | guint64 * {aka long unsigned int *}
# 44| }
# 45|
# 46|-> time_str.scanf ("%llu:%2llu:%2llu.%3llu",
# 47| out hours,
# 48| out minutes,
Error: COMPILER_WARNING: [#def589]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-time-utils.vala:46:18: warning[-Wformat=]: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 5 has type ‘guint64 *’ {aka ‘long unsigned int *’}
# 46 | time_str.scanf ("%llu:%2llu:%2llu.%3llu",
# | ^~~~~~~~~~~~~~~~~~~~~~~~
# | |
# | guint64 * {aka long unsigned int *}
# 44| }
# 45|
# 46|-> time_str.scanf ("%llu:%2llu:%2llu.%3llu",
# 47| out hours,
# 48| out minutes,
Error: COMPILER_WARNING: [#def590]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-time-utils.vala:46:18: warning[-Wformat=]: format ‘%llu’ expects argument of type ‘long long unsigned int *’, but argument 6 has type ‘guint64 *’ {aka ‘long unsigned int *’}
# 46 | time_str.scanf ("%llu:%2llu:%2llu.%3llu",
# | ^~~~~~~~~~~~~~~~~~~~~~~~
# | |
# | guint64 * {aka long unsigned int *}
# 44| }
# 45|
# 46|-> time_str.scanf ("%llu:%2llu:%2llu.%3llu",
# 47| out hours,
# 48| out minutes,
Error: COMPILER_WARNING: [#def591]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-time-utils.vala: scope_hint: In function ‘rygel_time_utils_time_to_string’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-time-utils.vala:73:28: warning[-Wformat=]: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘guint64’ {aka ‘long unsigned int’}
# 73 | return "%s%llu:%.2llu:%.2llu.%.3llu".printf (sign, hours, minutes,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~
# | |
# | guint64 {aka long unsigned int}
# 71| msecs = (time - totsecs) / TimeSpan.MILLISECOND;
# 72|
# 73|-> return "%s%llu:%.2llu:%.2llu.%.3llu".printf (sign, hours, minutes,
# 74| seconds, msecs);
# 75| }
Error: COMPILER_WARNING: [#def592]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-time-utils.vala:73:28: warning[-Wformat=]: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘guint64’ {aka ‘long unsigned int’}
# 73 | return "%s%llu:%.2llu:%.2llu.%.3llu".printf (sign, hours, minutes,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~
# | |
# | guint64 {aka long unsigned int}
# 71| msecs = (time - totsecs) / TimeSpan.MILLISECOND;
# 72|
# 73|-> return "%s%llu:%.2llu:%.2llu.%.3llu".printf (sign, hours, minutes,
# 74| seconds, msecs);
# 75| }
Error: COMPILER_WARNING: [#def593]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-time-utils.vala:73:28: warning[-Wformat=]: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 5 has type ‘guint64’ {aka ‘long unsigned int’}
# 73 | return "%s%llu:%.2llu:%.2llu.%.3llu".printf (sign, hours, minutes,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | |
# | guint64 {aka long unsigned int}
# 71| msecs = (time - totsecs) / TimeSpan.MILLISECOND;
# 72|
# 73|-> return "%s%llu:%.2llu:%.2llu.%.3llu".printf (sign, hours, minutes,
# 74| seconds, msecs);
# 75| }
Error: COMPILER_WARNING: [#def594]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-renderer/rygel-time-utils.vala:73:28: warning[-Wformat=]: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘guint64’ {aka ‘long unsigned int’}
# 73 | return "%s%llu:%.2llu:%.2llu.%.3llu".printf (sign, hours, minutes,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | |
# | guint64 {aka long unsigned int}
# 71| msecs = (time - totsecs) / TimeSpan.MILLISECOND;
# 72|
# 73|-> return "%s%llu:%.2llu:%.2llu.%.3llu".printf (sign, hours, minutes,
# 74| seconds, msecs);
# 75| }
Error: COMPILER_WARNING (CWE-681): [#def595]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-icon-elem.vala: scope_hint: In function ‘icon_elem_construct’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-icon-elem.vala:48:11: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 48 | string node_name = child_node->name;
# | ^
# 46| continue;
# 47| }
# 48|-> string node_name = child_node->name;
# 49| switch (node_name) {
# 50| case MIMETYPE:
Error: CLANG_WARNING: [#def596]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-icon-elem.vala:73:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 71| }
# 72|
# 73|-> public override bool match (ArrayList<ProtocolElem>? protocols,
# 74| ArrayList<FilterEntry> filters) {
# 75| return true;
Error: COMPILER_WARNING (CWE-681): [#def597]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-protocol-elem.vala: scope_hint: In function ‘protocol_elem_construct’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-protocol-elem.vala:36:12: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 36 | var attr_name = prop->name;
# | ^
# 34|
# 35| for (var prop = node->properties; prop != null; prop = prop->next) {
# 36|-> var attr_name = prop->name;
# 37| switch (attr_name) {
# 38| case SHORT_NAME:
Error: COMPILER_WARNING (CWE-681): [#def598]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-protocol-elem.vala:39:16: warning[-Wpointer-sign]: pointer targets in assignment from ‘xmlChar *’ {aka ‘unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 39 | this.short_name = prop->children->content;
# | ^
# 37| switch (attr_name) {
# 38| case SHORT_NAME:
# 39|-> this.short_name = prop->children->content;
# 40| break;
# 41| default:
Error: COMPILER_WARNING (CWE-681): [#def599]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-protocol-elem.vala:54:12: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 54 | var node_name = child_node->name;
# | ^
# 52| }
# 53|
# 54|-> var node_name = child_node->name;
# 55| switch (node_name) {
# 56| case URI:
Error: COMPILER_WARNING (CWE-681): [#def600]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala: scope_hint: In function ‘rygel_ruih_service_manager_set_ui_list’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:134:11: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 134 | if (ui_list_node != null && ui_list_node->name == UILIST) {
# | ^
# 132|
# 133| var ui_list_node = doc->get_root_element ();
# 134|-> if (ui_list_node != null && ui_list_node->name == UILIST) {
# 135| foreach (var node in new XMLUtils.ChildIterator (ui_list_node)) {
# 136| if (node->name == UI) {
Error: COMPILER_WARNING (CWE-681): [#def601]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:136:13: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 136 | if (node->name == UI) {
# | ^
# 134| if (ui_list_node != null && ui_list_node->name == UILIST) {
# 135| foreach (var node in new XMLUtils.ChildIterator (ui_list_node)) {
# 136|-> if (node->name == UI) {
# 137| this.ui_list.add (new UIElem (node));
# 138| }
Error: COMPILER_WARNING (CWE-681): [#def602]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala: scope_hint: In function ‘rygel_ruih_service_manager_convert_device_profile_to_filter’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:202:10: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 202 | if (node == null || node->name != DEVICEPROFILE) {
# | ^
# 200| (Xml.Node *node,
# 201| Gee.List<FilterEntry> filter_entries) {
# 202|-> if (node == null || node->name != DEVICEPROFILE) {
# 203| return;
# 204| }
Error: COMPILER_WARNING (CWE-681): [#def603]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:212:12: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 212 | if (child_node->name == PROTOCOL) {
# | ^
# 210| }
# 211|
# 212|-> if (child_node->name == PROTOCOL) {
# 213| // Get shortName attribute
# 214| for (var prop = child_node->properties;
Error: COMPILER_WARNING (CWE-681): [#def604]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:217:16: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 217 | if (prop->name == SHORT_NAME &&
# | ^
# 215| prop != null;
# 216| prop = prop->next) {
# 217|-> if (prop->name == SHORT_NAME &&
# 218| prop->children->content != null) {
# 219| var entry = new FilterEntry (SHORT_NAME,
Error: COMPILER_WARNING (CWE-681): [#def605]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:218:17: warning[-Wpointer-sign]: pointer targets in assignment from ‘xmlChar *’ {aka ‘unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 218 | prop->children->content != null) {
# | ^
# 216| prop = prop->next) {
# 217| if (prop->name == SHORT_NAME &&
# 218|-> prop->children->content != null) {
# 219| var entry = new FilterEntry (SHORT_NAME,
# 220| prop->children->content);
Error: COMPILER_WARNING (CWE-681): [#def606]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:219:17: warning[-Wpointer-sign]: pointer targets in assignment from ‘xmlChar *’ {aka ‘unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 219 | var entry = new FilterEntry (SHORT_NAME,
# | ^
# 217| if (prop->name == SHORT_NAME &&
# 218| prop->children->content != null) {
# 219|-> var entry = new FilterEntry (SHORT_NAME,
# 220| prop->children->content);
# 221| filter_entries.add (entry);
Error: COMPILER_WARNING (CWE-681): [#def607]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:226:12: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 226 | if (child_node->name == PROTOCOL_INFO &&
# | ^
# 224| }
# 225|
# 226|-> if (child_node->name == PROTOCOL_INFO &&
# 227| child_node->content != null) {
# 228| var entry = new FilterEntry (PROTOCOL_INFO,
Error: COMPILER_WARNING (CWE-681): [#def608]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:227:13: warning[-Wpointer-sign]: pointer targets in assignment from ‘xmlChar *’ {aka ‘unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 227 | child_node->content != null) {
# | ^
# 225|
# 226| if (child_node->name == PROTOCOL_INFO &&
# 227|-> child_node->content != null) {
# 228| var entry = new FilterEntry (PROTOCOL_INFO,
# 229| child_node->content);
Error: COMPILER_WARNING (CWE-681): [#def609]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:228:13: warning[-Wpointer-sign]: pointer targets in assignment from ‘xmlChar *’ {aka ‘unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 228 | var entry = new FilterEntry (PROTOCOL_INFO,
# | ^
# 226| if (child_node->name == PROTOCOL_INFO &&
# 227| child_node->content != null) {
# 228|-> var entry = new FilterEntry (PROTOCOL_INFO,
# 229| child_node->content);
# 230| filter_entries.add (entry);
Error: CLANG_WARNING: [#def610]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:259:4: warning[deadcode.DeadStores]: Value stored to '_entries_size_' is never read
# 257| }
# 258|
# 259|-> var entries = filter.split (",");
# 260| foreach (unowned string str in entries) {
# 261| // separator with no content, ignore
Error: CLANG_WARNING: [#def611]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:267:7: warning[deadcode.DeadStores]: Value stored to '_name_value_size_' is never read
# 265|
# 266| // string off quotes
# 267|-> var name_value = str.split ("=");
# 268| if (name_value != null &&
# 269| name_value.length == 2 &&
Error: CLANG_WARNING: [#def612]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:268:7: warning[deadcode.DeadStores]: Value stored to '_tmp32__length1' is never read
# 266| // string off quotes
# 267| var name_value = str.split ("=");
# 268|-> if (name_value != null &&
# 269| name_value.length == 2 &&
# 270| name_value[1] != null &&
Error: CLANG_WARNING: [#def613]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:269:8: warning[deadcode.DeadStores]: Value stored to '_tmp33_' is never read
# 267| var name_value = str.split ("=");
# 268| if (name_value != null &&
# 269|-> name_value.length == 2 &&
# 270| name_value[1] != null &&
# 271| name_value[1].length > 2) {
Error: CLANG_WARNING: [#def614]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:270:8: warning[deadcode.DeadStores]: Value stored to '_tmp34__length1' is never read
# 268| if (name_value != null &&
# 269| name_value.length == 2 &&
# 270|-> name_value[1] != null &&
# 271| name_value[1].length > 2) {
# 272| if (name_value[1].get_char (0) == '"' &&
Error: CLANG_WARNING: [#def615]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:271:8: warning[deadcode.DeadStores]: Value stored to '_tmp36__length1' is never read
# 269| name_value.length == 2 &&
# 270| name_value[1] != null &&
# 271|-> name_value[1].length > 2) {
# 272| if (name_value[1].get_char (0) == '"' &&
# 273| name_value[1].get_char (name_value[1].length - 1) == '"') {
Error: CLANG_WARNING: [#def616]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:272:8: warning[deadcode.DeadStores]: Value stored to '_tmp41__length1' is never read
# 270| name_value[1] != null &&
# 271| name_value[1].length > 2) {
# 272|-> if (name_value[1].get_char (0) == '"' &&
# 273| name_value[1].get_char (name_value[1].length - 1) == '"') {
# 274| var value = name_value[1].substring
Error: CLANG_WARNING: [#def617]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:273:9: warning[deadcode.DeadStores]: Value stored to '_tmp43__length1' is never read
# 271| name_value[1].length > 2) {
# 272| if (name_value[1].get_char (0) == '"' &&
# 273|-> name_value[1].get_char (name_value[1].length - 1) == '"') {
# 274| var value = name_value[1].substring
# 275| (1, name_value[1].length - 1);
Error: CLANG_WARNING: [#def618]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:273:9: warning[deadcode.DeadStores]: Value stored to '_tmp45__length1' is never read
# 271| name_value[1].length > 2) {
# 272| if (name_value[1].get_char (0) == '"' &&
# 273|-> name_value[1].get_char (name_value[1].length - 1) == '"') {
# 274| var value = name_value[1].substring
# 275| (1, name_value[1].length - 1);
Error: CLANG_WARNING: [#def619]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:274:9: warning[deadcode.DeadStores]: Value stored to '_tmp49__length1' is never read
# 272| if (name_value[1].get_char (0) == '"' &&
# 273| name_value[1].get_char (name_value[1].length - 1) == '"') {
# 274|-> var value = name_value[1].substring
# 275| (1, name_value[1].length - 1);
# 276| filter_entries.add (new FilterEntry
Error: CLANG_WARNING: [#def620]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:274:9: warning[deadcode.DeadStores]: Value stored to '_tmp51__length1' is never read
# 272| if (name_value[1].get_char (0) == '"' &&
# 273| name_value[1].get_char (name_value[1].length - 1) == '"') {
# 274|-> var value = name_value[1].substring
# 275| (1, name_value[1].length - 1);
# 276| filter_entries.add (new FilterEntry
Error: CLANG_WARNING: [#def621]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-servicemanager.vala:276:9: warning[deadcode.DeadStores]: Value stored to '_tmp56__length1' is never read
# 274| var value = name_value[1].substring
# 275| (1, name_value[1].length - 1);
# 276|-> filter_entries.add (new FilterEntry
# 277| (name_value[0], value));
# 278| }
Error: COMPILER_WARNING (CWE-681): [#def622]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-ui-elem.vala: scope_hint: In function ‘ui_elem_construct’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-ui-elem.vala:49:12: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 49 | var node_name = child_node->name;
# | ^
# 47| }
# 48|
# 49|-> var node_name = child_node->name;
# 50| switch (node_name) {
# 51| case UIID:
Error: COMPILER_WARNING (CWE-681): [#def623]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-ui-elem.vala:63:17: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 63 | if (icon_node->name == ICON) {
# | ^
# 61| var it = new Rygel.XMLUtils.ChildIterator (child_node);
# 62| foreach (var icon_node in it) {
# 63|-> if (icon_node->name == ICON) {
# 64| this.icons.add (new IconElem (icon_node));
# 65| }
Error: CLANG_WARNING: [#def624]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-ruih/rygel-ruih-wildcard-filter-entry.vala:29:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 27| }
# 28|
# 29|-> public override bool matches (string name, string value) {
# 30| return true;
# 31| }
Error: CLANG_WARNING: [#def625]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/raumfeld-hacks.vala:16:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 14| }
# 15|
# 16|-> public override void apply (MediaObject object) {
# 17| foreach (var resource in object.get_resource_list ()) {
# 18| if (resource.mime_type == "audio/x-vorbis+ogg" ||
Error: COMPILER_WARNING (CWE-704): [#def626]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-audio-item.vala: scope_hint: In function ‘rygel_audio_item_set_album’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-audio-item.vala:66:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 64| public int channels { get; set; default = -1; }
# 65|
# 66|-> public string album { get; set; }
# 67|
# 68| public AudioItem (string id,
Error: GCC_ANALYZER_WARNING (CWE-476): [#def627]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-audio-item.vala: scope_hint: In function ‘rygel_audio_item_real_compare_by_property’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-audio-item.vala:93:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-audio-item.vala:84:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:2672:60: note: in definition of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:191:35: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:191:70: note: in expansion of macro ‘RYGEL_TYPE_AUDIO_ITEM’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-audio-item.vala:86:7: note: in expansion of macro ‘RYGEL_IS_AUDIO_ITEM’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:191:35: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-audio-item.vala:90:27: note: in expansion of macro ‘RYGEL_IS_AUDIO_ITEM’
# 91| switch (property) {
# 92| case "upnp:album":
# 93|-> return this.compare_string_props (this.album, item.album);
# 94| default:
# 95| return base.compare_by_property (item, property);
Error: CLANG_WARNING: [#def628]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-browse.vala:34:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 32| * handling of Browse action possible.
# 33| */
# 34|-> internal class Rygel.Browse: Rygel.MediaQueryAction {
# 35| // The media object corresponding to object_id
# 36| private bool fetch_metadata;
Error: CLANG_WARNING: [#def629]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-content-directory.vala:57:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 55| * override create_root_container method.
# 56| */
# 57|-> public class Rygel.ContentDirectory: Service {
# 58| public const string UPNP_ID = "urn:upnp-org:serviceId:ContentDirectory";
# 59| public const string UPNP_TYPE =
Error: GCC_ANALYZER_WARNING (CWE-476): [#def630]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-content-directory.vala: scope_hint: In function ‘rygel_content_directory_get_transfer_progress_cb’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-content-directory.vala:269:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-content-directory.vala:258:2: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-content-directory.vala:602:2: note: in expansion of macro ‘g_return_val_if_fail’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-content-directory.vala:617:4: note: in expansion of macro ‘_g_free0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-content-directory.vala:267:7: note: in expansion of macro ‘G_UNLIKELY’
# 267| var import = this.find_import_for_action (action);
# 268|
# 269|-> action.set ("TransferStatus",
# 270| typeof (string),
# 271| import.status_as_string,
Error: CLANG_WARNING: [#def631]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-content-directory.vala:774:2: warning[deadcode.DeadStores]: Value stored to '_requested_profiles_size_' is never read
# 772| var plugin = this.root_device.resource_factory as MediaServerPlugin;
# 773| unowned GLib.List<DLNAProfile> profiles = plugin.upload_profiles;
# 774|-> var requested_profiles = upload_profiles.split (",");
# 775| var builder = new StringBuilder ();
# 776| foreach (var profile in profiles) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def632]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-content-directory.vala: scope_hint: In function ‘rygel_content_directory_get_dlna_upload_profiles_cb’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-content-directory.vala:778:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-content-directory.vala:760:2: note: in expansion of macro ‘g_return_if_fail’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-content-directory.vala: scope_hint: In function ‘rygel_content_directory_get_dlna_upload_profiles_cb’
# 776| foreach (var profile in profiles) {
# 777| // Skip forbidden profiles
# 778|-> if (profile.name.has_suffix ("_ICO") ||
# 779| profile.name.has_suffix ("_TN") ||
# 780| profile.name == "DIDL_S") {
Error: CLANG_WARNING: [#def633]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-content-directory.vala:784:5: warning[deadcode.DeadStores]: Value stored to '_tmp27_' is never read
# 782| }
# 783|
# 784|-> if (requested_profiles.length == 0 ||
# 785| profile.name in requested_profiles) {
# 786| builder.append (profile.name);
Error: COMPILER_WARNING (CWE-477): [#def634]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-data-sink.vala: scope_hint: In function ‘rygel_data_sink_on_data_available’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-data-sink.vala:79:2: warning[-Wdeprecated-declarations]: ‘soup_server_unpause_message’ is deprecated: Use 'soup_server_message_unpause' instead
# 79 | this.server.unpause_message (this.message);
# | ^ ~~~~~~~~~~~~~~~~~~~~
/usr/include/gupnp-1.6/libgupnp/gupnp-context.h:13: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp-context-filter.h:13: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp.h:10: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/rygel-core.h:6: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:13: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-data-sink.c:29: included_from: Included from here.
/usr/include/libsoup-3.0/libsoup/soup-server.h:157:17: note: declared here
# 157 | void soup_server_unpause_message (SoupServer *server,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 77| this.bytes_sent += to_send;
# 78|
# 79|-> this.server.unpause_message (this.message);
# 80|
# 81| if (this.chunks_buffered > MAX_BUFFERED_CHUNKS) {
Error: COMPILER_WARNING: [#def635]
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-data-sink.c:28: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-data-sink.vala: scope_hint: In function ‘rygel_data_sink_get_max_bytes’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-data-sink.vala:99:11: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘gint64’ {aka ‘long int’}
# 99 | debug ("Setting max_bytes to %lld", request.range_length);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
# | |
# | gint64 {aka long int}
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 97| return int64.MAX;
# 98| }
# 99|-> debug ("Setting max_bytes to %lld", request.range_length);
# 100|
# 101| return request.range_length;
Error: COMPILER_WARNING (CWE-843): [#def636]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-dbus-thumbnailer.vala: scope_hint: In function ‘rygel_dbus_thumbnailer_on_timeout’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-dbus-thumbnailer.vala:95:9: warning[-Wincompatible-pointer-types]: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘void **’
# 95 | this.tumbler.Queue.begin (this.uris.to_array (),
# | ^
# 93| this.uris.size);
# 94|
# 95|-> this.tumbler.Queue.begin (this.uris.to_array (),
# 96| this.mimes.to_array (),
# 97| this.flavor,
Error: COMPILER_WARNING (CWE-843): [#def637]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-dbus-thumbnailer.vala:95:10: warning[-Wincompatible-pointer-types]: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘void **’
# 95 | this.tumbler.Queue.begin (this.uris.to_array (),
# | ^
# 93| this.uris.size);
# 94|
# 95|-> this.tumbler.Queue.begin (this.uris.to_array (),
# 96| this.mimes.to_array (),
# 97| this.flavor,
Error: CLANG_WARNING: [#def638]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-dbus-thumbnailer.vala:110:3: warning[deadcode.DeadStores]: Value stored to '_names_size_' is never read
# 108| private void on_activatable_names (Object? source, AsyncResult res) {
# 109| try {
# 110|-> var names = this.fdo.list_activatable_names.end (res);
# 111| if (THUMBNAILER_IFACE in names) {
# 112| this.tumbler = GLib.Bus.get_proxy_sync (BusType.SESSION,
Error: CLANG_WARNING: [#def639]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-dlna-available-seek-response.vala:24:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 22| */
# 23|
# 24|-> public class Rygel.DLNAAvailableSeekRangeResponse : Rygel.HTTPResponseElement {
# 25| public const string AVAILABLE_SEEK_RANGE_HEADER = "availableSeekRange.dlna.org";
# 26| /**
Error: CLANG_WARNING: [#def640]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-dtcp-cleartext-request.vala:25:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 23| using GUPnP;
# 24|
# 25|-> public class Rygel.DTCPCleartextRequest : Rygel.HTTPSeekRequest {
# 26| public const string DTCP_RANGE_HEADER = "Range.dtcp.com";
# 27|
Error: CLANG_WARNING: [#def641]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-dtcp-cleartext-request.vala:92:2: warning[deadcode.DeadStores]: Value stored to '_range_tokens_size_' is never read
# 90| }
# 91|
# 92|-> var range_tokens = range.substring (6).split ("-", 2); // skip "bytes="
# 93| if (range_tokens[0].length == 0) {
# 94| var msg = "No range start specified: '%s'";
Error: CLANG_WARNING: [#def642]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-dtcp-cleartext-response.vala:25:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 23| using GUPnP;
# 24|
# 25|-> public class Rygel.DTCPCleartextResponse : Rygel.HTTPResponseElement {
# 26| public const string DTCP_CONTENT_RANGE_HEADER = "Content-Range.dtcp.com";
# 27|
Error: COMPILER_WARNING: [#def643]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-dtcp-cleartext-response.vala: scope_hint: In function ‘rygel_dtcp_cleartext_response_real_to_string’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-dtcp-cleartext-response.vala:93:28: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘gint64’ {aka ‘long int’}
# 93 | return ("DTCPCleartextResponse(bytes=%lld-%lld/%lld, enc_len=%lld)"
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | |
# | gint64 {aka long int}
# 91|
# 92| public override string to_string () {
# 93|-> return ("DTCPCleartextResponse(bytes=%lld-%lld/%lld, enc_len=%lld)"
# 94| .printf (this.start_byte,
# 95| this.end_byte,
Error: COMPILER_WARNING: [#def644]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-dtcp-cleartext-response.vala:93:28: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘gint64’ {aka ‘long int’}
# 93 | return ("DTCPCleartextResponse(bytes=%lld-%lld/%lld, enc_len=%lld)"
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | |
# | gint64 {aka long int}
# 91|
# 92| public override string to_string () {
# 93|-> return ("DTCPCleartextResponse(bytes=%lld-%lld/%lld, enc_len=%lld)"
# 94| .printf (this.start_byte,
# 95| this.end_byte,
Error: COMPILER_WARNING: [#def645]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-dtcp-cleartext-response.vala:93:28: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘gint64’ {aka ‘long int’}
# 93 | return ("DTCPCleartextResponse(bytes=%lld-%lld/%lld, enc_len=%lld)"
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | |
# | gint64 {aka long int}
# 91|
# 92| public override string to_string () {
# 93|-> return ("DTCPCleartextResponse(bytes=%lld-%lld/%lld, enc_len=%lld)"
# 94| .printf (this.start_byte,
# 95| this.end_byte,
Error: COMPILER_WARNING: [#def646]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-dtcp-cleartext-response.vala:93:28: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘gint64’ {aka ‘long int’}
# 93 | return ("DTCPCleartextResponse(bytes=%lld-%lld/%lld, enc_len=%lld)"
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | |
# | gint64 {aka long int}
# 91|
# 92| public override string to_string () {
# 93|-> return ("DTCPCleartextResponse(bytes=%lld-%lld/%lld, enc_len=%lld)"
# 94| .printf (this.start_byte,
# 95| this.end_byte,
Error: CLANG_WARNING: [#def647]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-byte-seek-request.vala:30:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 28| using GUPnP;
# 29|
# 30|-> public class Rygel.HTTPByteSeekRequest : Rygel.HTTPSeekRequest {
# 31| /**
# 32| * The start of the range in bytes
Error: CLANG_WARNING: [#def648]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-byte-seek-request.vala:87:2: warning[deadcode.DeadStores]: Value stored to '_range_tokens_size_' is never read
# 85| }
# 86|
# 87|-> var range_tokens = parsed_range.split ("-", 2);
# 88|
# 89| if (!int64.try_parse (range_tokens[0], out start_byte, null, 10)) {
Error: CLANG_WARNING: [#def649]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-byte-seek-request.vala:89:2: warning[deadcode.DeadStores]: Value stored to '_tmp15__length1' is never read
# 87| var range_tokens = parsed_range.split ("-", 2);
# 88|
# 89|-> if (!int64.try_parse (range_tokens[0], out start_byte, null, 10)) {
# 90| throw new HTTPSeekRequestError.INVALID_RANGE
# 91| ("Invalid Range start value: '%s'", range);
Error: CLANG_WARNING: [#def650]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-byte-seek-request.vala:102:2: warning[deadcode.DeadStores]: Value stored to '_tmp27__length1' is never read
# 100| }
# 101|
# 102|-> if (range_tokens[1] == null || (range_tokens[1].length == 0)) {
# 103| if (total_size != UNSPECIFIED) {
# 104| end_byte = total_size - 1;
Error: CLANG_WARNING: [#def651]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-byte-seek-request.vala:102:3: warning[deadcode.DeadStores]: Value stored to '_tmp29__length1' is never read
# 100| }
# 101|
# 102|-> if (range_tokens[1] == null || (range_tokens[1].length == 0)) {
# 103| if (total_size != UNSPECIFIED) {
# 104| end_byte = total_size - 1;
Error: CLANG_WARNING: [#def652]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-byte-seek-request.vala:111:3: warning[deadcode.DeadStores]: Value stored to '_tmp33__length1' is never read
# 109| }
# 110| } else {
# 111|-> if (!int64.try_parse (range_tokens[1], out end_byte, null, 10)) {
# 112| throw new HTTPSeekRequestError.INVALID_RANGE
# 113| ("Invalid Range end value: '%s'", range);
Error: CLANG_WARNING: [#def653]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-byte-seek-response.vala:30:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 28| using GUPnP;
# 29|
# 30|-> public class Rygel.HTTPByteSeekResponse : Rygel.HTTPResponseElement {
# 31| /**
# 32| * The start of the range in bytes
Error: COMPILER_WARNING: [#def654]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-byte-seek-response.vala: scope_hint: In function ‘rygel_http_byte_seek_response_real_to_string’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-byte-seek-response.vala:80:28: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘gint64’ {aka ‘long int’}
# 80 | return ("HTTPByteSeekResponse(bytes=%lld-%lld/%lld (%lld bytes))"
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | |
# | gint64 {aka long int}
# 78|
# 79| public override string to_string () {
# 80|-> return ("HTTPByteSeekResponse(bytes=%lld-%lld/%lld (%lld bytes))"
# 81| .printf (this.start_byte,
# 82| this.end_byte,
Error: COMPILER_WARNING: [#def655]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-byte-seek-response.vala:80:28: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘gint64’ {aka ‘long int’}
# 80 | return ("HTTPByteSeekResponse(bytes=%lld-%lld/%lld (%lld bytes))"
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | |
# | gint64 {aka long int}
# 78|
# 79| public override string to_string () {
# 80|-> return ("HTTPByteSeekResponse(bytes=%lld-%lld/%lld (%lld bytes))"
# 81| .printf (this.start_byte,
# 82| this.end_byte,
Error: COMPILER_WARNING: [#def656]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-byte-seek-response.vala:80:28: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘gint64’ {aka ‘long int’}
# 80 | return ("HTTPByteSeekResponse(bytes=%lld-%lld/%lld (%lld bytes))"
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | |
# | gint64 {aka long int}
# 78|
# 79| public override string to_string () {
# 80|-> return ("HTTPByteSeekResponse(bytes=%lld-%lld/%lld (%lld bytes))"
# 81| .printf (this.start_byte,
# 82| this.end_byte,
Error: COMPILER_WARNING: [#def657]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-byte-seek-response.vala:80:28: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘gint64’ {aka ‘long int’}
# 80 | return ("HTTPByteSeekResponse(bytes=%lld-%lld/%lld (%lld bytes))"
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | |
# | gint64 {aka long int}
# 78|
# 79| public override string to_string () {
# 80|-> return ("HTTPByteSeekResponse(bytes=%lld-%lld/%lld (%lld bytes))"
# 81| .printf (this.start_byte,
# 82| this.end_byte,
Error: COMPILER_WARNING (CWE-477): [#def658]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-get.vala: scope_hint: In function ‘rygel_http_get_handle_item_request_co’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-get.vala:182:3: warning[-Wdeprecated-declarations]: ‘soup_server_unpause_message’ is deprecated: Use 'soup_server_message_unpause' instead
# 182 | this.server.unpause_message (this.msg);
# | ^ ~~~~~~~~~~~~~~~~~
/usr/include/gupnp-1.6/libgupnp/gupnp-context.h:13: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp-context-filter.h:13: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp.h:10: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/rygel-core.h:6: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:13: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-get.c:34: included_from: Included from here.
/usr/include/libsoup-3.0/libsoup/soup-server.h:157:17: note: declared here
# 157 | void soup_server_unpause_message (SoupServer *server,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 180| }
# 181| } catch (PlaySpeedError error) {
# 182|-> this.server.unpause_message (this.msg);
# 183| if (error is PlaySpeedError.INVALID_SPEED_FORMAT) {
# 184| this.end (Soup.Status.BAD_REQUEST, error.message);
Error: COMPILER_WARNING: [#def659]
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:6: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-get.vala:201:13: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘gint64’ {aka ‘long int’}
# 201 | debug ("Processing DTCP cleartext byte range request (bytes %lld to %lld)",
# | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 202 | cleartext_seek.start_byte, cleartext_seek.end_byte);
# | ~~~~~~~~~~~~~~~
# | |
# | gint64 {aka long int}
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 199| var cleartext_seek = new DTCPCleartextRequest (this.msg,
# 200| this.handler);
# 201|-> debug ("Processing DTCP cleartext byte range request (bytes %lld to %lld)",
# 202| cleartext_seek.start_byte, cleartext_seek.end_byte);
# 203| this.seek = cleartext_seek;
Error: COMPILER_WARNING: [#def660]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-get.vala:201:13: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘gint64’ {aka ‘long int’}
# 201 | debug ("Processing DTCP cleartext byte range request (bytes %lld to %lld)",
# | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 202 | cleartext_seek.start_byte, cleartext_seek.end_byte);
# | ~~~~~~~~~~~~~~~
# | |
# | gint64 {aka long int}
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 199| var cleartext_seek = new DTCPCleartextRequest (this.msg,
# 200| this.handler);
# 201|-> debug ("Processing DTCP cleartext byte range request (bytes %lld to %lld)",
# 202| cleartext_seek.start_byte, cleartext_seek.end_byte);
# 203| this.seek = cleartext_seek;
Error: COMPILER_WARNING: [#def661]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-get.vala:206:14: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘gint64’ {aka ‘long int’}
# 206 | debug ("Processing byte range request (bytes %lld to %lld)",
# | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 207 | byte_seek.start_byte, byte_seek.end_byte);
# | ~
# | |
# | gint64 {aka long int}
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 204| } else if (supports_byte_seek && requested_byte_seek) {
# 205| var byte_seek = new HTTPByteSeekRequest (this.msg, this.handler);
# 206|-> debug ("Processing byte range request (bytes %lld to %lld)",
# 207| byte_seek.start_byte, byte_seek.end_byte);
# 208| this.seek = byte_seek;
Error: COMPILER_WARNING: [#def662]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-get.vala:206:14: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘gint64’ {aka ‘long int’}
# 206 | debug ("Processing byte range request (bytes %lld to %lld)",
# | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 207 | byte_seek.start_byte, byte_seek.end_byte);
# | ~~~~~~~~~~~~~~~
# | |
# | gint64 {aka long int}
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 204| } else if (supports_byte_seek && requested_byte_seek) {
# 205| var byte_seek = new HTTPByteSeekRequest (this.msg, this.handler);
# 206|-> debug ("Processing byte range request (bytes %lld to %lld)",
# 207| byte_seek.start_byte, byte_seek.end_byte);
# 208| this.seek = byte_seek;
Error: COMPILER_WARNING (CWE-477): [#def663]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-get.vala:222:3: warning[-Wdeprecated-declarations]: ‘soup_server_unpause_message’ is deprecated: Use 'soup_server_message_unpause' instead
# 222 | this.server.unpause_message (this.msg);
# | ^ ~~~~~~~~~~~~~~~~~
/usr/include/libsoup-3.0/libsoup/soup-server.h:157:17: note: declared here
# 157 | void soup_server_unpause_message (SoupServer *server,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 220| } catch (HTTPSeekRequestError error) {
# 221| warning ("Caught HTTPSeekRequestError: %s", error.message);
# 222|-> this.server.unpause_message (this.msg);
# 223| this.end (error.code, error.message);
# 224| // All seek error codes are Soup.Status codes
Error: COMPILER_WARNING (CWE-477): [#def664]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-get.vala:249:3: warning[-Wdeprecated-declarations]: ‘soup_server_unpause_message’ is deprecated: Use 'soup_server_message_unpause' instead
# 249 | this.server.unpause_message (this.msg);
# | ^ ~~~~~~~~~~~~~~~~~
/usr/include/libsoup-3.0/libsoup/soup-server.h:157:17: note: declared here
# 157 | void soup_server_unpause_message (SoupServer *server,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 247| warning ("Caught HTTPSeekRequestError on preroll: %s",
# 248| error.message);
# 249|-> this.server.unpause_message (this.msg);
# 250| this.end (error.code, error.message);
# 251| // All seek error codes are Soup.Status codes
Error: COMPILER_WARNING (CWE-477): [#def665]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-get.vala:359:3: warning[-Wdeprecated-declarations]: ‘soup_server_unpause_message’ is deprecated: Use 'soup_server_message_unpause' instead
# 359 | this.server.unpause_message (this.msg);
# | ^ ~~~~~~~~~~~~~~~~~
/usr/include/libsoup-3.0/libsoup/soup-server.h:157:17: note: declared here
# 157 | void soup_server_unpause_message (SoupServer *server,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 357| if (this.msg.get_method () == "HEAD") {
# 358| // Only headers requested, no need to send contents
# 359|-> this.server.unpause_message (this.msg);
# 360|
# 361| return;
Error: COMPILER_WARNING (CWE-704): [#def666]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala: scope_hint: In function ‘rygel_http_item_uri_set_item_id’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:29:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 27|
# 28| public class Rygel.HTTPItemURI : Object {
# 29|-> public string item_id { get; set; }
# 30| public int thumbnail_index { get; set; default = -1; }
# 31| public int subtitle_index { get; set; default = -1; }
Error: COMPILER_WARNING (CWE-704): [#def667]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala: scope_hint: In function ‘rygel_http_item_uri_set_resource_name’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:32:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 30| public int thumbnail_index { get; set; default = -1; }
# 31| public int subtitle_index { get; set; default = -1; }
# 32|-> public string? resource_name { get; set; default = null; }
# 33| public unowned HTTPServer http_server { get; set; }
# 34|
Error: CLANG_WARNING: [#def668]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:126:2: warning[deadcode.DeadStores]: Value stored to '_tmp2__length1' is never read
# 124| // http://tools.ietf.org/html/rfc4648#section-5
# 125| private string base64_urlencode (string data) {
# 126|-> var enc64 = Base64.encode ((uchar[]) data.to_utf8 ());
# 127| enc64 = enc64.replace ("/", "_");
# 128|
Error: CLANG_WARNING: [#def669]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:149:2: warning[deadcode.DeadStores]: Value stored to '_parts_size_' is never read
# 147|
# 148| var request_uri = uri.replace (http_server.path_root, "");
# 149|-> var parts = request_uri.split ("/");
# 150|
# 151| if (parts.length < 2 || parts.length % 2 == 0) {
Error: CLANG_WARNING: [#def670]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:151:2: warning[deadcode.DeadStores]: Value stored to '_tmp7_' is never read
# 149| var parts = request_uri.split ("/");
# 150|
# 151|-> if (parts.length < 2 || parts.length % 2 == 0) {
# 152| throw new HTTPRequestError.BAD_REQUEST (_("Invalid URI “%s”"),
# 153| request_uri);
Error: CLANG_WARNING: [#def671]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:151:3: warning[deadcode.DeadStores]: Value stored to '_tmp8_' is never read
# 149| var parts = request_uri.split ("/");
# 150|
# 151|-> if (parts.length < 2 || parts.length % 2 == 0) {
# 152| throw new HTTPRequestError.BAD_REQUEST (_("Invalid URI “%s”"),
# 153| request_uri);
Error: CLANG_WARNING: [#def672]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:156:2: warning[deadcode.DeadStores]: Value stored to '_tmp11__length1' is never read
# 154| }
# 155|
# 156|-> string last_part = parts[parts.length - 1];
# 157| int dot_index = last_part.last_index_of (".");
# 158|
Error: CLANG_WARNING: [#def673]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:156:2: warning[deadcode.DeadStores]: Value stored to '_tmp12_' is never read
# 154| }
# 155|
# 156|-> string last_part = parts[parts.length - 1];
# 157| int dot_index = last_part.last_index_of (".");
# 158|
Error: CLANG_WARNING: [#def674]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:161:3: warning[deadcode.DeadStores]: Value stored to '_tmp19__length1' is never read
# 159| if (dot_index > -1) {
# 160| this.extension = last_part.substring (dot_index + 1);
# 161|-> parts[parts.length - 1] = last_part.substring (0, dot_index);
# 162| }
# 163|
Error: CLANG_WARNING: [#def675]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:161:3: warning[deadcode.DeadStores]: Value stored to '_tmp20_' is never read
# 159| if (dot_index > -1) {
# 160| this.extension = last_part.substring (dot_index + 1);
# 161|-> parts[parts.length - 1] = last_part.substring (0, dot_index);
# 162| }
# 163|
Error: CLANG_WARNING: [#def676]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:164:5: warning[deadcode.DeadStores]: Value stored to '_tmp24_' is never read
# 162| }
# 163|
# 164|-> for (int i = 1; i < parts.length - 1; i += 2) {
# 165| switch (parts[i]) {
# 166| case "i":
Error: CLANG_WARNING: [#def677]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:165:5: warning[deadcode.DeadStores]: Value stored to '_tmp25__length1' is never read
# 163|
# 164| for (int i = 1; i < parts.length - 1; i += 2) {
# 165|-> switch (parts[i]) {
# 166| case "i":
# 167| var data = this.base64_urldecode
Error: CLANG_WARNING: [#def678]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:167:8: warning[deadcode.DeadStores]: Value stored to '_data_size_' is never read
# 165| switch (parts[i]) {
# 166| case "i":
# 167|-> var data = this.base64_urldecode
# 168| (GLib.Uri.unescape_string (parts[i + 1]));
# 169| StringBuilder builder = new StringBuilder ();
Error: CLANG_WARNING: [#def679]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:167:8: warning[deadcode.DeadStores]: Value stored to '_tmp30__length1' is never read
# 165| switch (parts[i]) {
# 166| case "i":
# 167|-> var data = this.base64_urldecode
# 168| (GLib.Uri.unescape_string (parts[i + 1]));
# 169| StringBuilder builder = new StringBuilder ();
Error: CLANG_WARNING: [#def680]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:170:8: warning[deadcode.DeadStores]: Value stored to '_tmp39__length1' is never read
# 168| (GLib.Uri.unescape_string (parts[i + 1]));
# 169| StringBuilder builder = new StringBuilder ();
# 170|-> builder.append ((string) data);
# 171| this.item_id = builder.str;
# 172|
Error: CLANG_WARNING: [#def681]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:175:8: warning[deadcode.DeadStores]: Value stored to '_tmp42__length1' is never read
# 173| break;
# 174| case "th":
# 175|-> this.thumbnail_index = int.parse (parts[i + 1]);
# 176|
# 177| break;
Error: CLANG_WARNING: [#def682]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:179:8: warning[deadcode.DeadStores]: Value stored to '_tmp44__length1' is never read
# 177| break;
# 178| case "sub":
# 179|-> this.subtitle_index = int.parse (parts[i + 1]);
# 180|
# 181| break;
Error: CLANG_WARNING: [#def683]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:183:8: warning[deadcode.DeadStores]: Value stored to '_tmp46__length1' is never read
# 181| break;
# 182| case "res":
# 183|-> this.resource_name = GLib.Uri.unescape_string (parts[i + 1]);
# 184|
# 185| break;
Error: CLANG_WARNING: [#def684]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:237:3: warning[deadcode.DeadStores]: Value stored to '_videos_size_' is never read
# 235| mime_to_ext = new HashMap<string, string> ();
# 236| // videos
# 237|-> string[] videos = {"mpeg", "webm", "ogg"};
# 238|
# 239| foreach (string video in videos) {
Error: CLANG_WARNING: [#def685]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-item-uri.vala:249:3: warning[deadcode.DeadStores]: Value stored to '_images_size_' is never read
# 247|
# 248| // images
# 249|-> string[] images = {"jpeg", "png"};
# 250|
# 251| foreach (string image in images) {
Error: CLANG_WARNING: [#def686]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-post.vala:31:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 29| * Responsible for handling HTTP POST client requests.
# 30| */
# 31|-> internal class Rygel.HTTPPost : HTTPRequest {
# 32| SourceFunc handle_continue;
# 33|
Error: COMPILER_WARNING (CWE-477): [#def687]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-post.vala: scope_hint: In function ‘rygel_http_post_handle_real_co’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-post.vala:88:2: warning[-Wdeprecated-declarations]: ‘soup_server_unpause_message’ is deprecated: Use 'soup_server_message_unpause' instead
/usr/include/gupnp-1.6/libgupnp/gupnp-context.h:13: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp-context-filter.h:13: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp.h:10: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/rygel-core.h:6: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:13: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-post.c:29: included_from: Included from here.
/usr/include/libsoup-3.0/libsoup/soup-server.h:157:17: note: declared here
# 86| this.msg.got_body.connect (this.on_got_body);
# 87|
# 88|-> this.server.unpause_message (this.msg);
# 89| this.handle_continue = this.handle_real.callback;
# 90|
Error: CLANG_WARNING: [#def688]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-post.vala:133:3: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 131| }
# 132|
# 133|-> if (item.place_holder) {
# 134| uint source_id = 0;
# 135| source_id = Timeout.add_seconds (timeout, () => {
Error: CLANG_WARNING: [#def689]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-post.vala:135:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 133| if (item.place_holder) {
# 134| uint source_id = 0;
# 135|-> source_id = Timeout.add_seconds (timeout, () => {
# 136| debug ("Timeout on waiting for 'updated' signal on '%s'.",
# 137| container.id);
Error: CLANG_WARNING: [#def690]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-post.vala:144:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 142| });
# 143|
# 144|-> var update_id = container.container_updated.connect (() => {
# 145| debug ("Finished waiting for update signal from container '%s'",
# 146| container.id);
Error: COMPILER_WARNING (CWE-477): [#def691]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-post.vala: scope_hint: In function ‘rygel_http_post_finalize_post_co’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-post.vala:174:2: warning[-Wdeprecated-declarations]: ‘soup_server_pause_message’ is deprecated: Use 'soup_server_message_pause' instead
/usr/include/libsoup-3.0/libsoup/soup-server.h:154:17: note: declared here
# 172| }
# 173|
# 174|-> this.server.pause_message (this.msg);
# 175|
# 176| debug ("Waiting for update signal from container '%s' after pushing" +
Error: COMPILER_WARNING (CWE-477): [#def692]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-post.vala:191:3: warning[-Wdeprecated-declarations]: ‘soup_server_unpause_message’ is deprecated: Use 'soup_server_message_unpause' instead
/usr/include/libsoup-3.0/libsoup/soup-server.h:157:17: note: declared here
# 189| move_error.message);
# 190|
# 191|-> this.server.unpause_message (this.msg);
# 192| this.end (Status.INTERNAL_SERVER_ERROR);
# 193| this.handle_continue ();
Error: COMPILER_WARNING (CWE-477): [#def693]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-post.vala:200:2: warning[-Wdeprecated-declarations]: ‘soup_server_unpause_message’ is deprecated: Use 'soup_server_message_unpause' instead
/usr/include/libsoup-3.0/libsoup/soup-server.h:157:17: note: declared here
# 198| yield wait_for_item (this.object.parent, this.object.id, 5);
# 199|
# 200|-> this.server.unpause_message (this.msg);
# 201| this.end (Status.OK);
# 202| this.handle_continue ();
Error: CLANG_WARNING: [#def694]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-post.vala:207:3: warning[deadcode.DeadStores]: Value stored to '_data_size_' is never read
# 205| private void on_got_chunk (ServerMessage msg, Bytes chunk) {
# 206| try {
# 207|-> var data = chunk.get_data ();
# 208| this.stream.write_all (data, null, this.cancellable);
# 209| } catch (Error error) {
Error: COMPILER_WARNING (CWE-704): [#def695]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-post.vala: scope_hint: In function ‘rygel_http_post_on_got_chunk’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-post.vala:207:10: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 205| private void on_got_chunk (ServerMessage msg, Bytes chunk) {
# 206| try {
# 207|-> var data = chunk.get_data ();
# 208| this.stream.write_all (data, null, this.cancellable);
# 209| } catch (Error error) {
Error: CLANG_WARNING: [#def696]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-request.vala:38:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 36| * Base class for HTTP client requests.
# 37| */
# 38|-> public abstract class Rygel.HTTPRequest : GLib.Object, Rygel.StateMachine {
# 39| public unowned HTTPServer http_server;
# 40| private MediaContainer root_container;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def697]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-request.vala: scope_hint: In function ‘rygel_http_request_handle_finish’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-request.vala:38:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-request.vala: scope_hint: In function ‘rygel_http_request_handle_finish’
# 36| * Base class for HTTP client requests.
# 37| */
# 38|-> public abstract class Rygel.HTTPRequest : GLib.Object, Rygel.StateMachine {
# 39| public unowned HTTPServer http_server;
# 40| private MediaContainer root_container;
Error: COMPILER_WARNING (CWE-477): [#def698]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-request.vala: scope_hint: In function ‘rygel_http_request_real_run_co’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-request.vala:66:2: warning[-Wdeprecated-declarations]: ‘soup_server_pause_message’ is deprecated: Use 'soup_server_message_pause' instead
/usr/include/gupnp-1.6/libgupnp/gupnp-context.h:13: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp-context-filter.h:13: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp.h:10: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/rygel-core.h:6: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:13: included_from: Included from here.
/usr/include/libsoup-3.0/libsoup/soup-server.h:154:17: note: declared here
# 64|
# 65| public async void run () {
# 66|-> this.server.pause_message (this.msg);
# 67|
# 68| try {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def699]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-request.vala: scope_hint: In function ‘rygel_http_request_real_run_co’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-request.vala:66:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-request.vala: scope_hint: In function ‘rygel_http_request_real_run_co’
# 64|
# 65| public async void run () {
# 66|-> this.server.pause_message (this.msg);
# 67|
# 68| try {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def700]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-request.vala: scope_hint: In function ‘rygel_http_request_real_find_item_co’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-request.vala:96:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-request.vala: scope_hint: In function ‘rygel_http_request_real_find_item_co’
# 94| protected virtual async void find_item () throws Error {
# 95| // Fetch the requested item
# 96|-> var media_object = yield this.root_container.find_object
# 97| (this.uri.item_id, null);
# 98|
Error: COMPILER_WARNING (CWE-477): [#def701]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-request.vala: scope_hint: In function ‘rygel_http_request_handle_error’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-request.vala:113:2: warning[-Wdeprecated-declarations]: ‘soup_server_unpause_message’ is deprecated: Use 'soup_server_message_unpause' instead
/usr/include/libsoup-3.0/libsoup/soup-server.h:157:17: note: declared here
# 111| protected void handle_error (Error error) {
# 112| warning ("%s", error.message);
# 113|-> this.server.unpause_message (this.msg);
# 114|
# 115| uint status;
Error: CLANG_WARNING: [#def702]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-resource-handler.vala:63:3: warning[deadcode.DeadStores]: Value stored to '_pi_fields_size_' is never read
# 61| var protocol_info = media_resource.get_protocol_info (replacements);
# 62| if (protocol_info != null) {
# 63|-> var pi_fields = protocol_info.to_string ().split (":", 4);
# 64| if (pi_fields != null && pi_fields[3] != null) {
# 65| request.msg.get_response_headers ().append ("contentFeatures.dlna.org",
Error: CLANG_WARNING: [#def703]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-resource-handler.vala:64:3: warning[deadcode.DeadStores]: Value stored to '_tmp23__length1' is never read
# 62| if (protocol_info != null) {
# 63| var pi_fields = protocol_info.to_string ().split (":", 4);
# 64|-> if (pi_fields != null && pi_fields[3] != null) {
# 65| request.msg.get_response_headers ().append ("contentFeatures.dlna.org",
# 66| pi_fields[3]);
Error: CLANG_WARNING: [#def704]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-resource-handler.vala:64:4: warning[deadcode.DeadStores]: Value stored to '_tmp24__length1' is never read
# 62| if (protocol_info != null) {
# 63| var pi_fields = protocol_info.to_string ().split (":", 4);
# 64|-> if (pi_fields != null && pi_fields[3] != null) {
# 65| request.msg.get_response_headers ().append ("contentFeatures.dlna.org",
# 66| pi_fields[3]);
Error: CLANG_WARNING: [#def705]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-resource-handler.vala:65:4: warning[deadcode.DeadStores]: Value stored to '_tmp28__length1' is never read
# 63| var pi_fields = protocol_info.to_string ().split (":", 4);
# 64| if (pi_fields != null && pi_fields[3] != null) {
# 65|-> request.msg.get_response_headers ().append ("contentFeatures.dlna.org",
# 66| pi_fields[3]);
# 67| }
Error: CLANG_WARNING: [#def706]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-response.vala:30:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 28| using Soup;
# 29|
# 30|-> public class Rygel.HTTPResponse : GLib.Object, Rygel.StateMachine {
# 31| public unowned Soup.Server server { get; private set; }
# 32| public Soup.ServerMessage msg;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def707]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-response.vala: scope_hint: In function ‘rygel_http_response_real_run_co’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-response.vala:111:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-response.vala: scope_hint: In function ‘rygel_http_response_real_run_co’
# 109|
# 110| public async void run () {
# 111|-> this.run_continue = run.callback;
# 112| try {
# 113| this.src.start ();
Error: COMPILER_WARNING (CWE-477): [#def708]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-response.vala: scope_hint: In function ‘rygel_http_response_real_end’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-response.vala:132:3: warning[-Wdeprecated-declarations]: ‘soup_server_unpause_message’ is deprecated: Use 'soup_server_message_unpause' instead
/usr/include/gupnp-1.6/libgupnp/gupnp-context.h:13: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp-context-filter.h:13: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp.h:10: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/rygel-core.h:6: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:13: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-http-response.c:31: included_from: Included from here.
/usr/include/libsoup-3.0/libsoup/soup-server.h:157:17: note: declared here
# 130| if (!aborted && encoding != Encoding.CONTENT_LENGTH) {
# 131| this.msg.get_response_body ().complete ();
# 132|-> this.server.unpause_message (this.msg);
# 133| }
# 134|
Error: CLANG_WARNING: [#def709]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-response.vala:135:2: warning[deadcode.DeadStores]: Value stored to '_tmp8__target' is never read
# 133| }
# 134|
# 135|-> if (this.run_continue != null) {
# 136| this.run_continue ();
# 137| }
Error: CLANG_WARNING: [#def710]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-server.vala:32:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 30| using Gee;
# 31|
# 32|-> public class Rygel.HTTPServer : GLib.Object, Rygel.StateMachine {
# 33| public string path_root { get; private set; }
# 34| public string server_name { get; set; }
Error: COMPILER_WARNING (CWE-704): [#def711]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-server.vala: scope_hint: In function ‘rygel_http_server_set_path_root’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-server.vala:33:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 31|
# 32| public class Rygel.HTTPServer : GLib.Object, Rygel.StateMachine {
# 33|-> public string path_root { get; private set; }
# 34| public string server_name { get; set; }
# 35|
Error: COMPILER_WARNING (CWE-704): [#def712]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-server.vala: scope_hint: In function ‘rygel_http_server_set_server_name’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-server.vala:34:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 32| public class Rygel.HTTPServer : GLib.Object, Rygel.StateMachine {
# 33| public string path_root { get; private set; }
# 34|-> public string server_name { get; set; }
# 35|
# 36| // Reference to root container of associated ContentDirectory
Error: GCC_ANALYZER_WARNING (CWE-476): [#def713]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-server.vala: scope_hint: In function ‘rygel_http_server_real_run_co’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-server.vala:83:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-server.vala: scope_hint: In function ‘rygel_http_server_real_run_co’
# 81|
# 82| public async void run () {
# 83|-> context.add_server_handler (true, this.path_root, this.server_handler);
# 84| context.server.request_aborted.connect (this.on_request_aborted);
# 85| context.server.request_started.connect (this.on_request_started);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def714]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-server.vala: scope_hint: In function ‘rygel_http_server_on_request_completed’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-server.vala:154:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-server.vala:149:2: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:2672:60: note: in definition of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:101:37: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:101:72: note: in expansion of macro ‘RYGEL_TYPE_HTTP_REQUEST’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-server.vala:150:27: note: in expansion of macro ‘RYGEL_IS_HTTP_REQUEST’
# 152| this.requests.remove (request);
# 153|
# 154|-> debug ("HTTP %s request for URI '%s' handled.",
# 155| request.msg.get_method (),
# 156| request.msg.get_uri ().to_string ());
Error: CLANG_WARNING: [#def715]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-subtitle-handler.vala:59:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 57| }
# 58|
# 59|-> public override bool supports_transfer_mode (string mode) {
# 60| // Support interactive and background transfers only
# 61| return (mode != TRANSFER_MODE_STREAMING);
Error: CLANG_WARNING: [#def716]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-subtitle-handler.vala:76:2: warning[deadcode.DeadStores]: Value stored to '_pi_fields_size_' is never read
# 74| var res = this.media_item.get_resource_list ().get (0);
# 75| var protocol_info = res.get_protocol_info ().to_string ();
# 76|-> var pi_fields = protocol_info.split (":", 4);
# 77| request.msg.get_response_headers ().append ("contentFeatures.dlna.org",
# 78| pi_fields[3]);
Error: CLANG_WARNING: [#def717]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-subtitle-handler.vala:101:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 99| }
# 100|
# 101|-> public override bool supports_byte_seek () {
# 102| return true;
# 103| }
Error: CLANG_WARNING: [#def718]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-thumbnail-handler.vala:62:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 60| }
# 61|
# 62|-> public override bool supports_transfer_mode (string mode) {
# 63| // Support interactive and background transfers only
# 64| return (mode != TRANSFER_MODE_STREAMING);
Error: CLANG_WARNING: [#def719]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-thumbnail-handler.vala:78:2: warning[deadcode.DeadStores]: Value stored to '_pi_fields_size_' is never read
# 76| this.thumbnail_index);
# 77| var protocol_info = res.get_protocol_info ().to_string ();
# 78|-> var pi_fields = protocol_info.split (":", 4);
# 79| request.msg.get_response_headers ().append ("contentFeatures.dlna.org",
# 80| pi_fields[3]);
Error: CLANG_WARNING: [#def720]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-thumbnail-handler.vala:103:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 101| }
# 102|
# 103|-> public override bool supports_byte_seek () {
# 104| return true;
# 105| }
Error: CLANG_WARNING: [#def721]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-time-seek-request.vala:33:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 31| * A TimeSeekRange request can only have a time range ("npt=start-end").
# 32| */
# 33|-> public class Rygel.HTTPTimeSeekRequest : Rygel.HTTPSeekRequest {
# 34| public const string TIMESEEKRANGE_HEADER = "TimeSeekRange.dlna.org";
# 35| /**
Error: CLANG_WARNING: [#def722]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-time-seek-request.vala:105:2: warning[deadcode.DeadStores]: Value stored to '_range_tokens_size_' is never read
# 103| }
# 104|
# 105|-> var range_tokens = parsed_range.split ("-", 2);
# 106|
# 107| int64 start = UNSPECIFIED;
Error: CLANG_WARNING: [#def723]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-time-seek-request.vala:108:2: warning[deadcode.DeadStores]: Value stored to '_tmp18__length1' is never read
# 106|
# 107| int64 start = UNSPECIFIED;
# 108|-> if (!parse_npt_time (range_tokens[0], ref start)) {
# 109| throw new HTTPSeekRequestError.INVALID_RANGE
# 110| ("Invalid %s value (no start): '%s'",
Error: CLANG_WARNING: [#def724]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-time-seek-request.vala:108:2: warning[deadcode.DeadStores]: Value stored to '_tmp19__length1' is never read
# 106|
# 107| int64 start = UNSPECIFIED;
# 108|-> if (!parse_npt_time (range_tokens[0], ref start)) {
# 109| throw new HTTPSeekRequestError.INVALID_RANGE
# 110| ("Invalid %s value (no start): '%s'",
Error: CLANG_WARNING: [#def725]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-time-seek-request.vala:133:2: warning[deadcode.DeadStores]: Value stored to '_tmp28__length1' is never read
# 131| // Look for an end time
# 132| int64 end = UNSPECIFIED;
# 133|-> if (parse_npt_time (range_tokens[1], ref end)) {
# 134| // The end time was specified in the npt ("start-end")
# 135| // Check for valid range
Error: CLANG_WARNING: [#def726]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-time-seek-request.vala:133:2: warning[deadcode.DeadStores]: Value stored to '_tmp29__length1' is never read
# 131| // Look for an end time
# 132| int64 end = UNSPECIFIED;
# 133|-> if (parse_npt_time (range_tokens[1], ref end)) {
# 134| // The end time was specified in the npt ("start-end")
# 135| // Check for valid range
Error: COMPILER_WARNING: [#def727]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-time-seek-request.vala: scope_hint: In function ‘rygel_http_time_seek_request_to_string’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-time-seek-request.vala:195:28: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘gint64’ {aka ‘long int’}
# 195 | return ("HTTPTimeSeekRequest (npt=%lld-%s)".printf
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | |
# | gint64 {aka long int}
# 193|
# 194| public string to_string () {
# 195|-> return ("HTTPTimeSeekRequest (npt=%lld-%s)".printf
# 196| (this.start_time,
# 197| (this.end_time != UNSPECIFIED
Error: CLANG_WARNING: [#def728]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-time-seek-request.vala:254:2: warning[deadcode.DeadStores]: Value stored to 'seconds_sum' is never read
# 252| }
# 253| // parse_seconds has a ':' in it...
# 254|-> int64 seconds_sum = 0;
# 255| int time_factor = 0;
# 256| string[] time_tokens;
Error: CLANG_WARNING: [#def729]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-time-seek-request.vala:255:2: warning[deadcode.DeadStores]: Value stored to 'time_factor' is never read
# 253| // parse_seconds has a ':' in it...
# 254| int64 seconds_sum = 0;
# 255|-> int time_factor = 0;
# 256| string[] time_tokens;
# 257|
Error: CLANG_WARNING: [#def730]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-time-seek-request.vala:261:2: warning[deadcode.DeadStores]: Value stored to '_time_tokens_size_' is never read
# 259| time_factor = 3600;
# 260|
# 261|-> time_tokens = range_token.split (":", 3);
# 262| if (time_tokens[0] == null ||
# 263| time_tokens[1] == null ||
Error: CLANG_WARNING: [#def731]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-time-seek-request.vala:262:2: warning[deadcode.DeadStores]: Value stored to '_tmp5__length1' is never read
# 260|
# 261| time_tokens = range_token.split (":", 3);
# 262|-> if (time_tokens[0] == null ||
# 263| time_tokens[1] == null ||
# 264| time_tokens[2] == null) {
Error: CLANG_WARNING: [#def732]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-time-seek-request.vala:263:3: warning[deadcode.DeadStores]: Value stored to '_tmp7__length1' is never read
# 261| time_tokens = range_token.split (":", 3);
# 262| if (time_tokens[0] == null ||
# 263|-> time_tokens[1] == null ||
# 264| time_tokens[2] == null) {
# 265| return false;
Error: CLANG_WARNING: [#def733]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-time-seek-request.vala:264:3: warning[deadcode.DeadStores]: Value stored to '_tmp9__length1' is never read
# 262| if (time_tokens[0] == null ||
# 263| time_tokens[1] == null ||
# 264|-> time_tokens[2] == null) {
# 265| return false;
# 266| }
Error: CLANG_WARNING: [#def734]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-http-time-seek-response.vala:24:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 22| */
# 23|
# 24|-> public class Rygel.HTTPTimeSeekResponse : Rygel.HTTPResponseElement {
# 25| /**
# 26| * Effective range start time, in microseconds
Error: CLANG_WARNING: [#def735]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-import-resource.vala:37:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 35| * Responsible for handling ImportResource action.
# 36| */
# 37|-> internal class Rygel.ImportResource : GLib.Object, Rygel.StateMachine {
# 38| private static uint32 last_transfer_id = 0;
# 39|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def736]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-import-resource.vala: scope_hint: In function ‘rygel_import_resource_real_run_co’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-import-resource.vala:100:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-import-resource.vala: scope_hint: In function ‘rygel_import_resource_real_run_co’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-import-resource.c:74:39: note: in definition of macro ‘_g_free0’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-import-resource.c:74:24: note: in definition of macro ‘_g_free0’
# 98| public async void run () {
# 99| // Start by parsing the 'in' arguments
# 100|-> this.action.get ("SourceURI",
# 101| typeof (string),
# 102| out this.source_uri,
Error: COMPILER_WARNING (CWE-685): [#def737]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-import-resource.vala:171:16: warning[-Wformat-extra-args]: too many arguments for format
# 171 | warning ("Importing sizes did not match: %z vs. %z", this.bytes_total, this.bytes_copied);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmessages.h:364:32: note: in definition of macro ‘g_warning’
# 364 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 169| this.bytes_total = this.bytes_copied;
# 170| } else if (this.bytes_total != this.bytes_copied) {
# 171|-> warning ("Importing sizes did not match: %z vs. %z", this.bytes_total, this.bytes_copied);
# 172| this.status = TransferStatus.ERROR;
# 173| }
Error: COMPILER_WARNING: [#def738]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-import-resource.vala:171:16: warning[-Wformat=]: conversion lacks type at end of format
# 171 | warning ("Importing sizes did not match: %z vs. %z", this.bytes_total, this.bytes_copied);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmessages.h:364:32: note: in definition of macro ‘g_warning’
# 364 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 169| this.bytes_total = this.bytes_copied;
# 170| } else if (this.bytes_total != this.bytes_copied) {
# 171|-> warning ("Importing sizes did not match: %z vs. %z", this.bytes_total, this.bytes_copied);
# 172| this.status = TransferStatus.ERROR;
# 173| }
Error: COMPILER_WARNING: [#def739]
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-import-resource.vala: scope_hint: In function ‘rygel_import_resource_real_run_co’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-import-resource.vala:171:16: warning[-Wformat=]: unknown conversion type character ‘ ’ in format
# 171 | warning ("Importing sizes did not match: %z vs. %z", this.bytes_total, this.bytes_copied);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmessages.h:364:32: note: in definition of macro ‘g_warning’
# 364 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 169| this.bytes_total = this.bytes_copied;
# 170| } else if (this.bytes_total != this.bytes_copied) {
# 171|-> warning ("Importing sizes did not match: %z vs. %z", this.bytes_total, this.bytes_copied);
# 172| this.status = TransferStatus.ERROR;
# 173| }
Error: CLANG_WARNING: [#def740]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-destroyer.vala:32:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 30| * DestroyObject action implementation.
# 31| */
# 32|-> internal class Rygel.ItemDestroyer: GLib.Object, Rygel.StateMachine {
# 33| private string object_id;
# 34|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def741]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-destroyer.vala: scope_hint: In function ‘rygel_item_destroyer_real_run_co’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-destroyer.vala:49:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-destroyer.vala: scope_hint: In function ‘rygel_item_destroyer_real_run_co’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-item-destroyer.c:65:39: note: in definition of macro ‘_g_free0’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-item-destroyer.c:65:24: note: in definition of macro ‘_g_free0’
# 47| public async void run () {
# 48| try {
# 49|-> this.action.get ("ObjectID", typeof (string), out this.object_id);
# 50| if (this.object_id == null) {
# 51| // Sorry we can't do anything without the ID
Error: CLANG_WARNING: [#def742]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala:31:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 29| * UpdateObject action implementation.
# 30| */
# 31|-> internal class Rygel.ItemUpdater: GLib.Object, Rygel.StateMachine {
# 32| public const string QN_UPNP_DATE = "dc:date";
# 33|
Error: CLANG_WARNING: [#def743]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala:108:3: warning[deadcode.DeadStores]: Value stored to '_init_split_size_' is never read
# 106| private static string format_tag_values (string tag_values) {
# 107| if (tag_values.length > 0 && tag_values.get_char (0) == '<') {
# 108|-> var init_split = tag_values.split ("</");
# 109| var tag_name = init_split[1].substring
# 110| (0, init_split[1].length - 1)
Error: CLANG_WARNING: [#def744]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala:109:3: warning[deadcode.DeadStores]: Value stored to '_tmp5__length1' is never read
# 107| if (tag_values.length > 0 && tag_values.get_char (0) == '<') {
# 108| var init_split = tag_values.split ("</");
# 109|-> var tag_name = init_split[1].substring
# 110| (0, init_split[1].length - 1)
# 111| ._strip ();
Error: CLANG_WARNING: [#def745]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala:109:3: warning[deadcode.DeadStores]: Value stored to '_tmp7__length1' is never read
# 107| if (tag_values.length > 0 && tag_values.get_char (0) == '<') {
# 108| var init_split = tag_values.split ("</");
# 109|-> var tag_name = init_split[1].substring
# 110| (0, init_split[1].length - 1)
# 111| ._strip ();
Error: CLANG_WARNING: [#def746]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala:112:3: warning[deadcode.DeadStores]: Value stored to '_tmp16__length1' is never read
# 110| (0, init_split[1].length - 1)
# 111| ._strip ();
# 112|-> var tag_value = init_split[0].split (">")[1]._strip ();
# 113| debug ("Tag Name formatted :%s", tag_name);
# 114| debug ("Tag Value formatted :%s", tag_value);
Error: COMPILER_WARNING (CWE-704): [#def747]
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-item-updater.c:28: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala: scope_hint: In function ‘rygel_item_updater_format_tag_values’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala:112:25: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘g_strchug’ discards ‘const’ qualifier from pointer target type
# 112 | var tag_value = init_split[0].split (">")[1]._strip ();
# | ^~~~~~~
/usr/include/glib-2.0/glib/gstrfuncs.h:248:56: note: in definition of macro ‘g_strstrip’
# 248 | #define g_strstrip( string ) g_strchomp (g_strchug (string))
# | ^~~~~~
/usr/include/glib-2.0/glib/gstrfuncs.h:243:55: note: expected ‘gchar *’ {aka ‘char *’} but argument is of type ‘const gchar *’ {aka ‘const char *’}
# 243 | gchar* g_strchug (gchar *string);
# | ~~~~~~~~~~~~~~^~~~~~
# 110| (0, init_split[1].length - 1)
# 111| ._strip ();
# 112|-> var tag_value = init_split[0].split (">")[1]._strip ();
# 113| debug ("Tag Name formatted :%s", tag_name);
# 114| debug ("Tag Value formatted :%s", tag_value);
Error: COMPILER_WARNING (CWE-704): [#def748]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala: scope_hint: In function ‘rygel_item_updater_check_date_tag’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala:132:28: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘g_strchug’ discards ‘const’ qualifier from pointer target type
# 132 | var date_val = new_tag[date_index].split ("</")[0]
# | ^~~~~~~
/usr/include/glib-2.0/glib/gstrfuncs.h:248:56: note: in definition of macro ‘g_strstrip’
# 248 | #define g_strstrip( string ) g_strchomp (g_strchug (string))
# | ^~~~~~
/usr/include/glib-2.0/glib/gstrfuncs.h:243:55: note: expected ‘gchar *’ {aka ‘char *’} but argument is of type ‘const gchar *’ {aka ‘const char *’}
# 243 | gchar* g_strchug (gchar *string);
# | ~~~~~~~~~~~~~~^~~~~~
# 130| date_index++;
# 131| if (cur_str.index_of (QN_UPNP_DATE) != -1) {
# 132|-> var date_val = new_tag[date_index].split ("</")[0]
# 133| .split (">")[1]._strip ();
# 134| ItemUpdater.check_date (date_val);
Error: COMPILER_WARNING (CWE-704): [#def749]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala:145:28: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘g_strchug’ discards ‘const’ qualifier from pointer target type
# 145 | var date_val = new_tag[date_index].split ("</")[0]
# | ^~~~~~~
/usr/include/glib-2.0/glib/gstrfuncs.h:248:56: note: in definition of macro ‘g_strstrip’
# 248 | #define g_strstrip( string ) g_strchomp (g_strchug (string))
# | ^~~~~~
/usr/include/glib-2.0/glib/gstrfuncs.h:243:55: note: expected ‘gchar *’ {aka ‘char *’} but argument is of type ‘const gchar *’ {aka ‘const char *’}
# 243 | gchar* g_strchug (gchar *string);
# | ~~~~~~~~~~~~~~^~~~~~
# 143| date_index++;
# 144| if (new_str.index_of (QN_UPNP_DATE) != -1) {
# 145|-> var date_val = new_tag[date_index].split ("</")[0]
# 146| .split (">")[1]._strip ();
# 147| ItemUpdater.check_date (date_val);
Error: CLANG_WARNING: [#def750]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala:156:2: warning[deadcode.DeadStores]: Value stored to 'day' is never read
# 154| // Same logic used in object-creator class
# 155| private static void check_date (string date_value) throws Error {
# 156|-> int year = 0, month = 0, day = 0;
# 157| if (date_value.scanf ("%4d-%02d-%02d",
# 158| out year,
Error: CLANG_WARNING: [#def751]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala:156:2: warning[deadcode.DeadStores]: Value stored to 'month' is never read
# 154| // Same logic used in object-creator class
# 155| private static void check_date (string date_value) throws Error {
# 156|-> int year = 0, month = 0, day = 0;
# 157| if (date_value.scanf ("%4d-%02d-%02d",
# 158| out year,
Error: CLANG_WARNING: [#def752]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala:156:2: warning[deadcode.DeadStores]: Value stored to 'year' is never read
# 154| // Same logic used in object-creator class
# 155| private static void check_date (string date_value) throws Error {
# 156|-> int year = 0, month = 0, day = 0;
# 157| if (date_value.scanf ("%4d-%02d-%02d",
# 158| out year,
Error: CLANG_WARNING: [#def753]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala:188:6: warning[deadcode.DeadStores]: Value stored to '_tmp4_' is never read
# 186| var len = tag_values.length;
# 187|
# 188|-> for (int iter = 0; iter < len; ++iter) {
# 189| var c = tag_values[iter];
# 190| var increase = true;
Error: GCC_ANALYZER_WARNING (CWE-688): [#def754]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala: scope_hint: In function ‘rygel_item_updater_csv_split’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala:204:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala: scope_hint: In function ‘rygel_item_updater_csv_split’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala:234:6: note: in expansion of macro ‘G_UNLIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala: scope_hint: In function ‘rygel_item_updater_csv_split’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
glib-2.0.vapi:1525:3: note: in expansion of macro ‘g_return_val_if_fail’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 202| token_length);
# 203| // Check if the start character is "<"
# 204|-> if (value.length > 0 && value[0] == '<') {
# 205| // then the end character must be > before the split"
# 206| if (!(value[value.length-1] == '>')) {
Error: CLANG_WARNING: [#def755]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala:221:6: warning[deadcode.DeadStores]: Value stored to '_tmp19_' is never read
# 219| }
# 220| if (increase) {
# 221|-> ++token_length;
# 222| }
# 223| }
Error: COMPILER_WARNING (CWE-843): [#def756]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala: scope_hint: In function ‘rygel_item_updater_update_object_co’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-item-updater.vala:241:19: warning[-Wincompatible-pointer-types]: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘void **’
# 241 | ItemUpdater.check_date_tag (current_list.to_array (),
# | ^
# 239| // different error will be thrown
# 240| if (current_list.size == new_list.size) {
# 241|-> ItemUpdater.check_date_tag (current_list.to_array (),
# 242| new_list.to_array ());
# 243| }
Error: GCC_ANALYZER_WARNING (CWE-688): [#def757]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-last-change-entry.vala: scope_hint: In function ‘rygel_last_change_entry_to_string’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-last-change-entry.vala:46:12: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-last-change-entry.vala:38:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-last-change-entry.vala:36:2: note: in expansion of macro ‘g_return_val_if_fail’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 44| "updateID=\"" + this.update_id.to_string () + "\"");
# 45|
# 46|-> if (info.length > 0) {
# 47| str.append (" " + info);
# 48| }
Error: CLANG_WARNING: [#def758]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-last-change-obj-del.vala:24:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 22| using Gee;
# 23|
# 24|-> internal class Rygel.LastChangeObjDel : Rygel.LastChangeEntry {
# 25| private bool sub_tree_update;
# 26|
Error: CLANG_WARNING: [#def759]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-last-change-obj-mod.vala:24:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 22| using Gee;
# 23|
# 24|-> internal class Rygel.LastChangeObjMod : Rygel.LastChangeEntry {
# 25| private bool sub_tree_update;
# 26|
Error: CLANG_WARNING: [#def760]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-last-change-st-done.vala:30:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 28| }
# 29|
# 30|-> protected override string additional_info () {
# 31| return "";
# 32| }
Error: CLANG_WARNING: [#def761]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-lg-tv-hacks.vala:33:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 31| }
# 32|
# 33|-> public override void apply (MediaObject object) {
# 34| foreach (var resource in object.get_resource_list ()) {
# 35| if (resource.mime_type == "audio/x-vorbis+ogg" ||
Error: CLANG_WARNING: [#def762]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-container.vala:41:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 39| * Implementation of RygelDataSource to serve generated playlists to a client.
# 40| */
# 41|-> internal class Rygel.PlaylistDatasource : Rygel.DataSource, Object {
# 42| private MediaContainer container;
# 43| private uint8[] data;
Error: CLANG_WARNING: [#def763]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-container.vala:61:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 59| public signal void data_ready ();
# 60|
# 61|-> public Gee.List<HTTPResponseElement>? preroll
# 62| (HTTPSeekRequest? seek_request,
# 63| PlaySpeedRequest? playspeed_request)
Error: CLANG_WARNING: [#def764]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-container.vala:79:2: warning[deadcode.DeadStores]: Value stored to '_tmp0__length1' is never read
# 77|
# 78| public void start () throws Error {
# 79|-> if (this.data == null) {
# 80| this.data_ready.connect ( () => {
# 81| try {
Error: CLANG_WARNING: [#def765]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-container.vala:97:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 95| }
# 96|
# 97|-> public void freeze () { }
# 98|
# 99| public void thaw () { }
Error: CLANG_WARNING: [#def766]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-container.vala:99:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 97| public void freeze () { }
# 98|
# 99|-> public void thaw () { }
# 100|
# 101| public void stop () { }
Error: CLANG_WARNING: [#def767]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-container.vala:101:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 99| public void thaw () { }
# 100|
# 101|-> public void stop () { }
# 102|
# 103| public async void generate_data () {
Error: COMPILER_WARNING (CWE-704): [#def768]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-container.vala: scope_hint: In function ‘rygel_media_container_set_sort_criteria’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-container.vala:225:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 225 | public string sort_criteria { set; get; default = DEFAULT_SORT_CRITERIA; }
# | ^
# 223| public int64 total_deleted_child_count;
# 224|
# 225|-> public string sort_criteria { set; get; default = DEFAULT_SORT_CRITERIA; }
# 226|
# 227| public override OCMFlags ocm_flags {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def769]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-container.vala: scope_hint: In function ‘rygel_media_container_check_search_expression’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-container.vala:516:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-container.vala:512:2: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-container.vala:219:2: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-container.vala:219:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:303:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-container.vala:515:43: note: in expansion of macro ‘RYGEL_IS_RELATIONAL_EXPRESSION’
# 514| if (expression != null && expression is RelationalExpression) {
# 515| var relational_exp = expression as RelationalExpression;
# 516|-> if (relational_exp.op == SearchCriteriaOp.DERIVED_FROM &&
# 517| relational_exp.operand1 == "upnp:createClass") {
# 518| this.create_mode_enabled = true;
Error: CLANG_WARNING: [#def770]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-engine.vala:53:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 51| * <link linkend="implementing-media-engines">Implementing Media Engines</link> section.
# 52| */
# 53|-> public abstract class Rygel.MediaEngine : GLib.Object {
# 54| private static MediaEngine instance;
# 55|
Error: CLANG_WARNING: [#def771]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-file-item.vala:43:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 41| * MediaItem subclass.
# 42| */
# 43|-> public abstract class Rygel.MediaFileItem : MediaItem {
# 44| /**
# 45| * The mime type of the source content (this.uri).
Error: COMPILER_WARNING (CWE-704): [#def772]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-file-item.vala: scope_hint: In function ‘rygel_media_file_item_set_mime_type’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-file-item.vala:48:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 48 | public string mime_type { get; set; }
# | ^
# 46| * A null/empty value means that the mime-type is unknown
# 47| */
# 48|-> public string mime_type { get; set; }
# 49|
# 50| /**
Error: COMPILER_WARNING (CWE-704): [#def773]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-file-item.vala: scope_hint: In function ‘rygel_media_file_item_set_dlna_profile’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-file-item.vala:54:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 54 | public string dlna_profile { get; set; }
# | ^
# 52| * A null/empty value means that the DLNA profile is unknown
# 53| */
# 54|-> public string dlna_profile { get; set; }
# 55|
# 56| /**
Error: CLANG_WARNING: [#def774]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-file-item.vala:200:4: warning[deadcode.DeadStores]: Value stored to 'dot_index' is never read
# 198| if (uri.get_scheme () == "file") {
# 199| string basename = Path.get_basename (this.get_primary_uri ());
# 200|-> int dot_index = -1;
# 201| if (basename != null) {
# 202| dot_index = basename.last_index_of (".");
Error: CLANG_WARNING: [#def775]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-file-item.vala:226:3: warning[deadcode.DeadStores]: Value stored to '_videos_size_' is never read
# 224| mime_to_ext = new Gee.HashMap<string, string> ();
# 225| // videos
# 226|-> string[] videos = {"mpeg", "webm", "ogg", "mp4"};
# 227|
# 228| foreach (string video in videos) {
Error: CLANG_WARNING: [#def776]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-file-item.vala:246:3: warning[deadcode.DeadStores]: Value stored to '_images_size_' is never read
# 244|
# 245| // images
# 246|-> string[] images = {"jpeg", "png"};
# 247|
# 248| foreach (string image in images) {
Error: COMPILER_WARNING (CWE-704): [#def777]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-item.vala: scope_hint: In function ‘rygel_media_item_set_description’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-item.vala:43:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 41| public const string UPNP_CLASS = "objec.item";
# 42|
# 43|-> public string description { get; set; default = null; }
# 44|
# 45| internal override void apply_didl_lite (DIDLLiteObject didl_object) {
Error: COMPILER_WARNING (CWE-704): [#def778]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala: scope_hint: In function ‘rygel_media_object_set_id’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala:42:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 42 | public string id { get; set construct; }
# | ^
# 40| private static Regex pretty_name_regex;
# 41|
# 42|-> public string id { get; set construct; }
# 43| public string ref_id { get; set; }
# 44| public string upnp_class { get; construct set; }
Error: COMPILER_WARNING (CWE-704): [#def779]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala: scope_hint: In function ‘rygel_media_object_set_ref_id’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala:43:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 43 | public string ref_id { get; set; }
# | ^
# 41|
# 42| public string id { get; set construct; }
# 43|-> public string ref_id { get; set; }
# 44| public string upnp_class { get; construct set; }
# 45| public string date { get; set; }
Error: COMPILER_WARNING (CWE-704): [#def780]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala: scope_hint: In function ‘rygel_media_object_set_upnp_class’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala:44:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 44 | public string upnp_class { get; construct set; }
# | ^
# 42| public string id { get; set construct; }
# 43| public string ref_id { get; set; }
# 44|-> public string upnp_class { get; construct set; }
# 45| public string date { get; set; }
# 46| public string creator { get; set; }
Error: COMPILER_WARNING (CWE-704): [#def781]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala: scope_hint: In function ‘rygel_media_object_set_date’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala:45:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 45 | public string date { get; set; }
# | ^
# 43| public string ref_id { get; set; }
# 44| public string upnp_class { get; construct set; }
# 45|-> public string date { get; set; }
# 46| public string creator { get; set; }
# 47| public uint64 modified { get; set; }
Error: COMPILER_WARNING (CWE-704): [#def782]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala: scope_hint: In function ‘rygel_media_object_set_creator’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala:46:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 46 | public string creator { get; set; }
# | ^
# 44| public string upnp_class { get; construct set; }
# 45| public string date { get; set; }
# 46|-> public string creator { get; set; }
# 47| public uint64 modified { get; set; }
# 48| public uint object_update_id { get; set; }
Error: COMPILER_WARNING (CWE-704): [#def783]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala: scope_hint: In function ‘rygel_media_object_set_artist’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala:50:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 50 | public string artist { get; set; }
# | ^
# 48| public uint object_update_id { get; set; }
# 49|
# 50|-> public string artist { get; set; }
# 51| public string genre { get; set; }
# 52|
Error: COMPILER_WARNING (CWE-704): [#def784]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala: scope_hint: In function ‘rygel_media_object_set_genre’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala:51:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 51 | public string genre { get; set; }
# | ^
# 49|
# 50| public string artist { get; set; }
# 51|-> public string genre { get; set; }
# 52|
# 53| //TODO: { get; private set; } or, even better,
Error: CLANG_WARNING: [#def785]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala:159:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 157| }
# 158|
# 159|-> public virtual OCMFlags ocm_flags { get { return OCMFlags.NONE; }}
# 160|
# 161| internal bool restricted {
Error: COMPILER_WARNING (CWE-843): [#def786]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala: scope_hint: In function ‘rygel_media_object_apply_replacements’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala:309:43: warning[-Wincompatible-pointer-types]: passing argument 2 of ‘g_hash_table_foreach’ from incompatible pointer type
# 309 | replacement_pairs.foreach ((search_string, replacement)
# | ^~~~~~~~~~~~~~~~~~~
# | |
# | void (*)(const void *, const void *, void *)
/usr/include/glib-2.0/glib.h:52: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:6: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-object.c:30: included_from: Included from here.
/usr/include/glib-2.0/glib/ghash.h:114:61: note: expected ‘GHFunc’ {aka ‘void (*)(void *, void *, void *)’} but argument is of type ‘void (*)(const void *, const void *, void *)’
# 114 | GHFunc func,
# | ~~~~~~~~~~~~~~~~^~~~
# 307|
# 308| var replaced_string = source_string;
# 309|-> replacement_pairs.foreach ((search_string, replacement)
# 310| => {
# 311| replaced_string
Error: COMPILER_WARNING (CWE-681): [#def787]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala: scope_hint: In function ‘rygel_media_object_clean_node’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala:338:11: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 338 | list.add (attr->name);
# | ^
# 336| while (attr != null) {
# 337| if (attr->ns == ns) {
# 338|-> list.add (attr->name);
# 339| }
# 340|
Error: COMPILER_WARNING (CWE-843): [#def788]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala: scope_hint: In function ‘rygel_media_object_apply_fragments_co’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala:370:19: warning[-Wincompatible-pointer-types]: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘void **’
# 370 | result = didl_object.apply_fragments
# | ^
# 368| didl_object.dlna_namespace);
# 369|
# 370|-> result = didl_object.apply_fragments
# 371| (current_fragments.to_array (),
# 372| new_fragments.to_array ());
Error: GCC_ANALYZER_WARNING (CWE-476): [#def789]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala: scope_hint: In function ‘rygel_media_object_real_compare_by_property’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala:395:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala:389:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-object.vala:84:2: note: in expansion of macro ‘g_return_val_if_fail’
# 393| return this.compare_string_props (this.id, media_object.id);
# 394| case "@parentID":
# 395|-> return this.compare_string_props (this.parent.id,
# 396| media_object.parent.id);
# 397| case "dc:title":
Error: CLANG_WARNING: [#def790]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-objects.vala:45:2: warning[deadcode.DeadStores]: Value stored to '_tmp2_' is never read
# 43| public void sort_by_criteria (string sort_criteria) {
# 44| var sort_props = sort_criteria.split (",");
# 45|-> if (sort_props.length == 0) {
# 46| return;
# 47| }
Error: CLANG_WARNING: [#def791]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-query-action.vala:29:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 27| * Base class of Browse and Search actions.
# 28| */
# 29|-> internal abstract class Rygel.MediaQueryAction : GLib.Object, StateMachine {
# 30| // In arguments
# 31| public string object_id;
Error: CLANG_WARNING: [#def792]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-query-action.vala:159:2: warning[deadcode.DeadStores]: Value stored to '_requested_sort_props_size_' is never read
# 157| var supported_props = new HashSet<string> ();
# 158|
# 159|-> var requested_sort_props = this.sort_criteria.split (",");
# 160|
# 161| foreach (var property in MediaObjects.SORT_CAPS.split (",")) {
Error: GCC_ANALYZER_WARNING (CWE-688): [#def793]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-query-action.vala: scope_hint: In function ‘rygel_media_query_action_validate_sort_criteria’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-query-action.vala:173:15: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-query-action.vala:152:2: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-query-action.vala:161:13: note: in expansion of macro ‘g_strdup’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-query-action.vala: scope_hint: In function ‘rygel_media_query_action_validate_sort_criteria’
rygel-media-query-action.c: scope_hint: In function ‘rygel_media_query_action_validate_sort_criteria’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-query-action.vala: scope_hint: In function ‘rygel_media_query_action_validate_sort_criteria’
/usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 171| }
# 172|
# 173|-> if (!supported_props.contains (property.slice (1, property.length))) {
# 174| throw new ContentDirectoryError.INVALID_SORT_CRITERIA
# 175| ("%s is invalid or not supported",
Error: COMPILER_WARNING (CWE-704): [#def794]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala: scope_hint: In function ‘rygel_media_resource_set_uri’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala:33:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 31|
# 32| // Res block fields
# 33|-> public string uri { get; set; }
# 34| public string import_uri { get; set; }
# 35| public string extension { get; set; default = null; }
Error: COMPILER_WARNING (CWE-704): [#def795]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala: scope_hint: In function ‘rygel_media_resource_set_import_uri’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala:34:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 32| // Res block fields
# 33| public string uri { get; set; }
# 34|-> public string import_uri { get; set; }
# 35| public string extension { get; set; default = null; }
# 36| public int64 size { get; set; default = -1; } // In bytes
Error: COMPILER_WARNING (CWE-704): [#def796]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala: scope_hint: In function ‘rygel_media_resource_set_extension’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala:35:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 33| public string uri { get; set; }
# 34| public string import_uri { get; set; }
# 35|-> public string extension { get; set; default = null; }
# 36| public int64 size { get; set; default = -1; } // In bytes
# 37| public int64 cleartext_size { get; set; default = -1; } // In bytes
Error: COMPILER_WARNING (CWE-704): [#def797]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala: scope_hint: In function ‘rygel_media_resource_set_protocol’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala:48:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 46|
# 47| // ProtocolInfo fields
# 48|-> public string protocol { get; set; default = null; }
# 49| public string mime_type { get; set; default = null; }
# 50| public string dlna_profile { get; set; default = null; }
Error: COMPILER_WARNING (CWE-704): [#def798]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala: scope_hint: In function ‘rygel_media_resource_set_mime_type’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala:49:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 47| // ProtocolInfo fields
# 48| public string protocol { get; set; default = null; }
# 49|-> public string mime_type { get; set; default = null; }
# 50| public string dlna_profile { get; set; default = null; }
# 51| public string network { get; set; default = null; }
Error: COMPILER_WARNING (CWE-704): [#def799]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala: scope_hint: In function ‘rygel_media_resource_set_dlna_profile’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala:50:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 48| public string protocol { get; set; default = null; }
# 49| public string mime_type { get; set; default = null; }
# 50|-> public string dlna_profile { get; set; default = null; }
# 51| public string network { get; set; default = null; }
# 52| public string[] play_speeds = null;
Error: COMPILER_WARNING (CWE-704): [#def800]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala: scope_hint: In function ‘rygel_media_resource_set_network’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala:51:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 49| public string mime_type { get; set; default = null; }
# 50| public string dlna_profile { get; set; default = null; }
# 51|-> public string network { get; set; default = null; }
# 52| public string[] play_speeds = null;
# 53| public DLNAConversion dlna_conversion { get; set;
Error: COMPILER_WARNING (CWE-843): [#def801]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala: scope_hint: In function ‘rygel_media_resource_construct_from_didl_lite_resource’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala:124:11: warning[-Wincompatible-pointer-types]: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘const char **’
# 122| this.dlna_profile = didl_resource.protocol_info.dlna_profile;
# 123| this.network = didl_resource.protocol_info.network;
# 124|-> this.play_speeds = didl_resource.protocol_info.play_speeds;
# 125| this.dlna_conversion = didl_resource.protocol_info.dlna_conversion;
# 126| this.dlna_flags = didl_resource.protocol_info.dlna_flags;
Error: COMPILER_WARNING (CWE-843): [#def802]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala: scope_hint: In function ‘rygel_media_resource_set_protocol_info’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala:181:10: warning[-Wincompatible-pointer-types]: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘const char **’
# 179| this.dlna_operation = pi.dlna_operation;
# 180| this.dlna_flags = pi.dlna_flags;
# 181|-> this.play_speeds = pi.play_speeds;
# 182| }
# 183|
Error: CLANG_WARNING: [#def803]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala:201:2: warning[deadcode.DeadStores]: Value stored to '_tmp19__length1' is never read
# 199| new_pi.dlna_flags = this.dlna_flags;
# 200| // ProtocolInfo doesn't like having play_speeds set to null
# 201|-> if (this.play_speeds != null) {
# 202| new_pi.play_speeds = this.play_speeds;
# 203| }
Error: CLANG_WARNING: [#def804]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala:202:3: warning[deadcode.DeadStores]: Value stored to '_tmp21__length1' is never read
# 200| // ProtocolInfo doesn't like having play_speeds set to null
# 201| if (this.play_speeds != null) {
# 202|-> new_pi.play_speeds = this.play_speeds;
# 203| }
# 204|
Error: COMPILER_WARNING (CWE-843): [#def805]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala: scope_hint: In function ‘rygel_media_resource_get_protocol_info’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala:202:49: warning[-Wincompatible-pointer-types]: passing argument 2 of ‘gupnp_protocol_info_set_play_speeds’ from incompatible pointer type
/usr/include/gupnp-av-1.0/libgupnp-av/gupnp-didl-lite-resource.h:24: included_from: Included from here.
/usr/include/gupnp-av-1.0/libgupnp-av/gupnp-didl-lite-object.h:22: included_from: Included from here.
/usr/include/gupnp-av-1.0/libgupnp-av/gupnp-av.h:13: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:10: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-media-resource.c:26: included_from: Included from here.
/usr/include/gupnp-av-1.0/libgupnp-av/gupnp-protocol-info.h:73:61: note: expected ‘const char **’ but argument is of type ‘gchar **’ {aka ‘char **’}
# 200| // ProtocolInfo doesn't like having play_speeds set to null
# 201| if (this.play_speeds != null) {
# 202|-> new_pi.play_speeds = this.play_speeds;
# 203| }
# 204|
Error: CLANG_WARNING: [#def806]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala:281:2: warning[deadcode.DeadStores]: Value stored to '_tmp0_' is never read
# 279|
# 280| public bool supports_playspeed () {
# 281|-> return (this.play_speeds.length > 0);
# 282| }
# 283|
Error: CLANG_WARNING: [#def807]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-resource.vala:415:2: warning[deadcode.DeadStores]: Value stored to '_tmp123__length1' is never read
# 413| }
# 414|
# 415|-> if (this.play_speeds != null) {
# 416| strbuf.append ("play_speeds [");
# 417| foreach (var speed in this.play_speeds) {
Error: CLANG_WARNING: [#def808]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-server-plugin.vala:188:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 186|
# 187| // TODO: Document this, or make it unnecessary.
# 188|-> public override void apply_hacks (RootDevice device,
# 189| string description_path)
# 190| throws Error {
Error: CLANG_WARNING: [#def809]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-server-plugin.vala:192:2: warning[deadcode.DeadStores]: Value stored to '_services_size_' is never read
# 190| throws Error {
# 191| // Apply V1 downgrades
# 192|-> string[] services = { ContentDirectory.UPNP_TYPE,
# 193| ConnectionManager.UPNP_TYPE };
# 194| var v1_hacks = new V1Hacks (DMS, services);
Error: CLANG_WARNING: [#def810]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-media-server.vala:38:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 36| * <link linkend="implementing-servers">Implementing Servers</link> section.
# 37| */
# 38|-> public class Rygel.MediaServer : MediaDevice {
# 39| public unowned MediaContainer root_container { construct; private get; }
# 40|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def811]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-music-item.vala: scope_hint: In function ‘rygel_music_item_real_compare_by_property’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-music-item.vala:80:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-music-item.vala:70:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:2672:60: note: in definition of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:270:35: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:270:70: note: in expansion of macro ‘RYGEL_TYPE_MUSIC_ITEM’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-music-item.vala:72:7: note: in expansion of macro ‘RYGEL_IS_MUSIC_ITEM’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:270:35: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-music-item.vala:76:27: note: in expansion of macro ‘RYGEL_IS_MUSIC_ITEM’
# 78| switch (property) {
# 79| case "upnp:originalTrackNumber":
# 80|-> return this.compare_int_props (this.track_number,
# 81| item.track_number);
# 82| case "upnp:originalDiscNumber":
Error: GCC_ANALYZER_WARNING (CWE-476): [#def812]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-music-item.vala:83:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-music-item.vala:70:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:2672:60: note: in definition of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:270:35: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:270:70: note: in expansion of macro ‘RYGEL_TYPE_MUSIC_ITEM’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-music-item.vala:72:7: note: in expansion of macro ‘RYGEL_IS_MUSIC_ITEM’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:270:35: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-music-item.vala:76:27: note: in expansion of macro ‘RYGEL_IS_MUSIC_ITEM’
# 81| item.track_number);
# 82| case "upnp:originalDiscNumber":
# 83|-> return this.compare_int_props (this.disc_number,
# 84| item.disc_number);
# 85| default:
Error: CLANG_WARNING: [#def813]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-music-item.vala:99:13: warning[core.NullDereference]: Access to field 'uri' results in a dereference of a null pointer (loaded from variable '_tmp12_')
# 97| if (this.album_art == null)
# 98| this.album_art = new Thumbnail ();
# 99|-> this.album_art.uri = didl_object.album_art;
# 100| } else if (this.album_art != null)
# 101| this.album_art = null;
Error: CLANG_WARNING: [#def814]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:89:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 87| * CreateObject action implementation.
# 88| */
# 89|-> internal class Rygel.ObjectCreator: GLib.Object, Rygel.StateMachine {
# 90| private static PatternSpec comment_pattern = new PatternSpec ("*<!--*-->*");
# 91|
Error: COMPILER_WARNING (CWE-477): [#def815]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala: scope_hint: In function ‘rygel_object_creator_parse_args’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:194:3: warning[-Wdeprecated-declarations]: ‘g_pattern_match_string’ is deprecated: Use 'g_pattern_spec_match_string' instead
# 194 | } else if (comment_pattern.match_string (this.elements)) {
# | ^
/usr/include/glib-2.0/glib.h:68: included_from: Included from here.
/usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here
# 57 | gboolean g_pattern_match_string (GPatternSpec *pspec,
# | ^~~~~~~~~~~~~~~~~~~~~~
# 192| throw new ContentDirectoryError.BAD_METADATA
# 193| (_("“Elements” argument missing."));
# 194|-> } else if (comment_pattern.match_string (this.elements)) {
# 195| throw new ContentDirectoryError.BAD_METADATA
# 196| (_("Comments not allowed in XML"));
Error: COMPILER_WARNING (CWE-704): [#def816]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala: scope_hint: In function ‘rygel_object_creator_generalize_upnp_class’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:291:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 291 | char *needle = upnp_class.rstr_len (-1, ".");
# | ^
# 289| */
# 290| private void generalize_upnp_class (ref string upnp_class) {
# 291|-> char *needle = upnp_class.rstr_len (-1, ".");
# 292| if (needle != null) {
# 293| *needle = '\0';
Error: GCC_ANALYZER_WARNING (CWE-476): [#def817]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala: scope_hint: In function ‘rygel_object_creator_extract_item_parameters’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:558:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-object-creator.c:114:39: note: in definition of macro ‘_g_free0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:543:2: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-object-creator.c:228:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:544:27: note: in expansion of macro ‘RYGEL_IS_MEDIA_FILE_ITEM’
rygel-object-creator.c: scope_hint: In function ‘rygel_object_creator_extract_item_parameters’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:31:16: note: in expansion of macro ‘g_object_ref’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala: scope_hint: In function ‘rygel_object_creator_extract_item_parameters’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:797:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-object-creator.c:392:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:800:27: note: in expansion of macro ‘RYGEL_IS_MEDIA_SERVER_PLUGIN’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-object-creator.c:392:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:800:27: note: in expansion of macro ‘RYGEL_IS_MEDIA_SERVER_PLUGIN’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:558:17: note: in expansion of macro ‘g_strdup’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala: scope_hint: In function ‘rygel_object_creator_extract_item_parameters’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-object-creator.c:114:39: note: in definition of macro ‘_g_free0’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-object-creator.c:114:39: note: in definition of macro ‘_g_free0’
# 556| }
# 557|
# 558|-> item.dlna_profile = info.dlna_profile;
# 559| }
# 560|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def818]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:562:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-object-creator.c:114:39: note: in definition of macro ‘_g_free0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:543:2: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-object-creator.c:228:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:544:27: note: in expansion of macro ‘RYGEL_IS_MEDIA_FILE_ITEM’
rygel-object-creator.c: scope_hint: In function ‘rygel_object_creator_extract_item_parameters’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:31:16: note: in expansion of macro ‘g_object_ref’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala: scope_hint: In function ‘rygel_object_creator_extract_item_parameters’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:562:17: note: in expansion of macro ‘g_strdup’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala: scope_hint: In function ‘rygel_object_creator_extract_item_parameters’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-object-creator.c:114:39: note: in definition of macro ‘_g_free0’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-object-creator.c:114:39: note: in definition of macro ‘_g_free0’
# 560|
# 561| if (info.mime_type != null) {
# 562|-> item.mime_type = info.mime_type;
# 563| }
# 564| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def819]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:572:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:543:2: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-object-creator.c:228:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:544:27: note: in expansion of macro ‘RYGEL_IS_MEDIA_FILE_ITEM’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:31:16: note: in expansion of macro ‘g_object_ref’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala: scope_hint: In function ‘rygel_object_creator_extract_item_parameters’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:671:2: note: in expansion of macro ‘g_return_val_if_fail’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:672:2: note: in expansion of macro ‘_g_free0’
# 570|
# 571| if (resource.size >= 0) {
# 572|-> item.size = resource.size;
# 573| }
# 574| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def820]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:576:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:543:2: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-object-creator.c:228:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:544:27: note: in expansion of macro ‘RYGEL_IS_MEDIA_FILE_ITEM’
# 574| }
# 575|
# 576|-> if (item.mime_type == null) {
# 577| item.mime_type = this.get_generic_mime_type ();
# 578| }
Error: CLANG_WARNING: [#def821]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:607:2: warning[deadcode.DeadStores]: Value stored to 'day' is never read
# 605| }
# 606|
# 607|-> int year = 0, month = 0, day = 0;
# 608|
# 609| if (didl_item.date.scanf ("%4d-%02d-%02d",
Error: CLANG_WARNING: [#def822]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:607:2: warning[deadcode.DeadStores]: Value stored to 'month' is never read
# 605| }
# 606|
# 607|-> int year = 0, month = 0, day = 0;
# 608|
# 609| if (didl_item.date.scanf ("%4d-%02d-%02d",
Error: CLANG_WARNING: [#def823]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:607:2: warning[deadcode.DeadStores]: Value stored to 'year' is never read
# 605| }
# 606|
# 607|-> int year = 0, month = 0, day = 0;
# 608|
# 609| if (didl_item.date.scanf ("%4d-%02d-%02d",
Error: CLANG_WARNING: [#def824]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:756:3: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 754| }
# 755|
# 756|-> if (object == null) {
# 757| var id = container.container_updated.connect ((container) => {
# 758| this.wait_for_object.callback ();
Error: CLANG_WARNING: [#def825]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:757:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 755|
# 756| if (object == null) {
# 757|-> var id = container.container_updated.connect ((container) => {
# 758| this.wait_for_object.callback ();
# 759| });
Error: CLANG_WARNING: [#def826]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:762:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 760|
# 761| uint timeout = 0;
# 762|-> timeout = Timeout.add_seconds (5, () => {
# 763| debug ("Timeout on waiting for 'updated' signal on '%s'.",
# 764| container.id);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def827]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala: scope_hint: In function ‘rygel_object_creator_is_profile_valid’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:801:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-object-creator.vala:797:2: note: in expansion of macro ‘g_return_val_if_fail’
# 799|
# 800| var plugin = this.content_dir.root_device.resource_factory as MediaServerPlugin;
# 801|-> profiles = plugin.upload_profiles;
# 802| var p = new DLNAProfile (profile, "");
# 803|
Error: CLANG_WARNING: [#def828]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-panasonic-hacks.vala:26:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 24| using GUPnP;
# 25|
# 26|-> internal class Rygel.PanasonicHacks : ClientHacks {
# 27| private const string AGENT = ".*Panasonic MIL DLNA CP.*";
# 28|
Error: CLANG_WARNING: [#def829]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-panasonic-hacks.vala:45:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 43| }
# 44|
# 45|-> public override void apply (MediaObject object) {
# 46| var item = object as VisualItem;
# 47| if (item == null) {
Error: CLANG_WARNING: [#def830]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-phillips-hacks.vala:33:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 31| }
# 32|
# 33|-> public override void apply (MediaObject object) {
# 34| foreach (var resource in object.get_resource_list ()) {
# 35| if (resource.mime_type == "video/x-msvideo") {
Error: CLANG_WARNING: [#def831]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-photo-item.vala:54:2: warning[deadcode.DeadStores]: Value stored to '_tmp3_' is never read
# 52| var item = media_object as PhotoItem;
# 53|
# 54|-> switch (property) {
# 55| default:
# 56| return base.compare_by_property (item, property);
Error: CLANG_WARNING: [#def832]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-playspeed-request.vala:72:2: warning[deadcode.DeadStores]: Value stored to '_elements_size_' is never read
# 70| }
# 71|
# 72|-> var elements = speed_string.split ("=");
# 73|
# 74| if ((elements.length != 2) || (elements[0] != "speed")) {
Error: CLANG_WARNING: [#def833]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-playspeed-request.vala:74:2: warning[deadcode.DeadStores]: Value stored to '_tmp12_' is never read
# 72| var elements = speed_string.split ("=");
# 73|
# 74|-> if ((elements.length != 2) || (elements[0] != "speed")) {
# 75| var msg = /*_*/("Ill-formed value for header %s: %s");
# 76| throw new PlaySpeedError.INVALID_SPEED_FORMAT (msg,
Error: CLANG_WARNING: [#def834]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-playspeed-request.vala:74:3: warning[deadcode.DeadStores]: Value stored to '_tmp13__length1' is never read
# 72| var elements = speed_string.split ("=");
# 73|
# 74|-> if ((elements.length != 2) || (elements[0] != "speed")) {
# 75| var msg = /*_*/("Ill-formed value for header %s: %s");
# 76| throw new PlaySpeedError.INVALID_SPEED_FORMAT (msg,
Error: CLANG_WARNING: [#def835]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-playspeed-request.vala:81:2: warning[deadcode.DeadStores]: Value stored to '_tmp20__length1' is never read
# 79| }
# 80|
# 81|-> speed = new PlaySpeed.from_string (elements[1]);
# 82|
# 83| // Normal rate is always valid. Just check for valid scaled rate
Error: CLANG_WARNING: [#def836]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-playspeed-request.vala:90:4: warning[deadcode.DeadStores]: Value stored to '_speeds_size_' is never read
# 88| if (resource_handler != null) {
# 89| var resource = resource_handler.media_resource;
# 90|-> var speeds = resource.play_speeds;
# 91| var found_speed = false;
# 92| foreach (var speed in speeds) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def837]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-playspeed-request.vala: scope_hint: In function ‘rygel_play_speed_request_construct_from_request’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-playspeed-request.vala:90:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-playspeed-request.vala:60:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-playspeed-request.vala:81:6: note: in expansion of macro ‘G_UNLIKELY’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-playspeed-request.c:55:52: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-playspeed-request.vala:86:29: note: in expansion of macro ‘RYGEL_IS_HTTP_MEDIA_RESOURCE_HANDLER’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/librygel-server-2.8.so.0.42.6.p/rygel-playspeed-request.c:55:52: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-playspeed-request.vala:86:29: note: in expansion of macro ‘RYGEL_IS_HTTP_MEDIA_RESOURCE_HANDLER’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-playspeed-request.vala: scope_hint: In function ‘rygel_play_speed_request_construct_from_request’
# 88| if (resource_handler != null) {
# 89| var resource = resource_handler.media_resource;
# 90|-> var speeds = resource.play_speeds;
# 91| var found_speed = false;
# 92| foreach (var speed in speeds) {
Error: CLANG_WARNING: [#def838]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-playspeed-request.vala:92:26: warning[core.NullDereference]: Array access (from variable 'speed_collection') results in a null pointer dereference
# 90| var speeds = resource.play_speeds;
# 91| var found_speed = false;
# 92|-> foreach (var speed in speeds) {
# 93| var cur_speed = new PlaySpeedRequest.from_string (speed);
# 94| if (this.equals (cur_speed)) {
Error: CLANG_WARNING: [#def839]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-playspeed.vala:78:3: warning[deadcode.DeadStores]: Value stored to '_elements_size_' is never read
# 76| this.denominator = 1;
# 77| } else {
# 78|-> var elements = speed.split ("/");
# 79| if (elements.length != 2) {
# 80| var msg = /*_*/("Missing/extra numerator/denominator in fraction %s");
Error: CLANG_WARNING: [#def840]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-playspeed.vala:79:3: warning[deadcode.DeadStores]: Value stored to '_tmp2_' is never read
# 77| } else {
# 78| var elements = speed.split ("/");
# 79|-> if (elements.length != 2) {
# 80| var msg = /*_*/("Missing/extra numerator/denominator in fraction %s");
# 81| throw new PlaySpeedError.INVALID_SPEED_FORMAT (msg, speed);
Error: CLANG_WARNING: [#def841]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-playspeed.vala:83:3: warning[deadcode.DeadStores]: Value stored to '_tmp6__length1' is never read
# 81| throw new PlaySpeedError.INVALID_SPEED_FORMAT (msg, speed);
# 82| }
# 83|-> this.numerator = int.parse (elements[0]);
# 84| this.denominator = int.parse (elements[1]);
# 85| }
Error: CLANG_WARNING: [#def842]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-playspeed.vala:84:3: warning[deadcode.DeadStores]: Value stored to '_tmp8__length1' is never read
# 82| }
# 83| this.numerator = int.parse (elements[0]);
# 84|-> this.denominator = int.parse (elements[1]);
# 85| }
# 86|
Error: CLANG_WARNING: [#def843]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-reference-creator.vala:25:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 23| using GUPnP;
# 24|
# 25|-> internal class Rygel.ReferenceCreator : GLib.Object, Rygel.StateMachine {
# 26| private ContentDirectory content_directory;
# 27| private ServiceAction action;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def844]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-relational-expression.vala: scope_hint: In function ‘rygel_relational_expression_real_satisfied_by’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-relational-expression.vala:73:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-relational-expression.vala:36:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/rygel-relational-expression.c:100:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-relational-expression.vala:72:32: note: in expansion of macro ‘RYGEL_IS_MEDIA_CONTAINER’
# 71| } else {
# 72| var container = media_object as MediaContainer;
# 73|-> return this.compare_uint (container.update_id);
# 74| }
# 75| case "upnp:createClass":
Error: GCC_ANALYZER_WARNING (CWE-476): [#def845]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-relational-expression.vala: scope_hint: In function ‘rygel_relational_expression_real_satisfied_by’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-relational-expression.vala:73:78: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-relational-expression.vala:36:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:159:40: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-relational-expression.vala:72:32: note: in expansion of macro ‘RYGEL_IS_MEDIA_CONTAINER’
# 71| } else {
# 72| var container = media_object as MediaContainer;
# 73|-> return this.compare_uint (container.update_id);
# 74| }
# 75| case "upnp:createClass":
Error: CLANG_WARNING: [#def846]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-samsung-tv-hacks.vala:24:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 22| using GUPnP;
# 23|
# 24|-> internal class Rygel.SamsungTVHacks : ClientHacks {
# 25| private const string AGENT = ".*SEC_HHP.*|.*SEC HHP.*";
# 26|
Error: CLANG_WARNING: [#def847]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-samsung-tv-hacks.vala:43:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 41| }
# 42|
# 43|-> public override void apply (MediaObject object) {
# 44| foreach (var resource in object.get_resource_list ()) {
# 45| if (resource.mime_type == "video/x-matroska") {
Error: CLANG_WARNING: [#def848]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-samsung-tv-hacks.vala:82:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 80| }
# 81|
# 82|-> public override bool force_seek () {
# 83| return true;
# 84| }
Error: CLANG_WARNING: [#def849]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-samsung-tv-hacks.vala:86:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 84| }
# 85|
# 86|-> public override void modify_headers (HTTPRequest request) {
# 87| var item = request.object as VideoItem;
# 88|
Error: CLANG_WARNING: [#def850]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-search-criteria-parser.vala:57:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 55| * Parses a search criteria string and creates SearchExpression as a result.
# 56| */
# 57|-> internal class Rygel.SearchCriteriaParser : Object, StateMachine {
# 58| // The original string representation received from client
# 59| public string str;
Error: COMPILER_WARNING (CWE-704): [#def851]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-search-criteria-parser.vala: scope_hint: In function ‘rygel_search_criteria_parser_construct’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-search-criteria-parser.vala:114:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 114 | foreach (var token in TOKENS) {
# | ^
# 112| scanner.config.symbol_2_token = true;
# 113|
# 114|-> foreach (var token in TOKENS) {
# 115| scanner.scope_add_symbol (0,
# 116| token.str_symbol,
Error: CLANG_WARNING: [#def852]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-seek-hacks.vala:52:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 50| }
# 51|
# 52|-> public override bool force_seek () {
# 53| return true;
# 54| }
Error: CLANG_WARNING: [#def853]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-simple-container.vala:223:3: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 221| cancellable);
# 222|
# 223|-> do {
# 224| restart = false;
# 225| ulong updated_id = 0;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def854]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-source-connection-manager.vala: scope_hint: In function ‘rygel_source_connection_manager_get_protocol_info’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-source-connection-manager.vala:63:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-source-connection-manager.vala:50:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-source-connection-manager.vala:74:2: note: in expansion of macro ‘g_return_val_if_fail’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-source-connection-manager.vala: scope_hint: In function ‘rygel_source_connection_manager_get_protocol_info’
# 61|
# 62| protocol_info.protocol = protocol;
# 63|-> protocol_info.mime_type = profile.mime;
# 64| protocol_info.dlna_profile = profile.name;
# 65|
Error: CLANG_WARNING: [#def855]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-subtitle-manager.vala:34:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 32| * Provides subtitles for videos.
# 33| */
# 34|-> internal class Rygel.SubtitleManager : GLib.Object {
# 35| private static SubtitleManager manager; // Our singleton object
# 36|
Error: CLANG_WARNING: [#def856]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-subtitle-manager.vala:61:2: warning[deadcode.DeadStores]: Value stored to '_exts_size_' is never read
# 59| // FIXME: foreach ".eng.srt", ".ger.srt", ".srt"...
# 60| // FIXME: case insensitive?
# 61|-> string[] exts = { "srt", "smi" };
# 62|
# 63| var subtitles = new ArrayList<Subtitle> ();
Error: CLANG_WARNING: [#def857]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-trackable-container.vala:33:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 31| * to be emitted.
# 32| */
# 33|-> public interface Rygel.TrackableContainer : Rygel.MediaContainer {
# 34| public async void clear () {
# 35| try {
Error: COMPILER_WARNING (CWE-704): [#def858]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-video-item.vala: scope_hint: In function ‘rygel_video_item_set_author’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-video-item.vala:38:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 36| public new const string UPNP_CLASS = "object.item.videoItem";
# 37|
# 38|-> public string author { get; set; }
# 39|
# 40| //TODO: This property documentation is not used.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def859]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-video-item.vala: scope_hint: In function ‘rygel_video_item_real_compare_by_property’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-video-item.vala:118:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-video-item.vala:108:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:2672:60: note: in definition of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:346:35: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:346:70: note: in expansion of macro ‘RYGEL_TYPE_VIDEO_ITEM’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-video-item.vala:110:7: note: in expansion of macro ‘RYGEL_IS_VIDEO_ITEM’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:346:35: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-video-item.vala:114:27: note: in expansion of macro ‘RYGEL_IS_VIDEO_ITEM’
# 116| switch (property) {
# 117| case "upnp:author":
# 118|-> return this.compare_string_props (this.author, item.author);
# 119| default:
# 120| return base.compare_by_property (item, property);
Error: CLANG_WARNING: [#def860]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbmc-hacks.vala:35:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 33| }
# 34|
# 35|-> public override void apply (MediaObject object) {
# 36| foreach (var resource in object.get_resource_list ()) {
# 37| if (resource.mime_type == "audio/mp4" ||
Error: CLANG_WARNING: [#def861]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbmc-hacks.vala:45:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 43| }
# 44|
# 45|-> public override bool force_seek () {
# 46| return true;
# 47| }
Error: CLANG_WARNING: [#def862]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:36:9: note: Calling 'rygel_xbox_hacks_construct'
# 34| private const string CONTAINER_ID = "ContainerID";
# 35|
# 36|-> public XBoxHacks (ServerMessage? message = null) throws ClientHacksError {
# 37| base (AGENT, message);
# 38|
Error: CLANG_WARNING: [#def863]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:37:2: note: Taking false branch
# 35|
# 36| public XBoxHacks (ServerMessage? message = null) throws ClientHacksError {
# 37|-> base (AGENT, message);
# 38|
# 39| this.object_id = CONTAINER_ID;
Error: CLANG_WARNING: [#def864]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:37:6: note: Taking false branch
# 35|
# 36| public XBoxHacks (ServerMessage? message = null) throws ClientHacksError {
# 37|-> base (AGENT, message);
# 38|
# 39| this.object_id = CONTAINER_ID;
Error: CLANG_WARNING: [#def865]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:37:18: note: Assuming '_inner_error0_' is equal to null
# 35|
# 36| public XBoxHacks (ServerMessage? message = null) throws ClientHacksError {
# 37|-> base (AGENT, message);
# 38|
# 39| this.object_id = CONTAINER_ID;
Error: CLANG_WARNING: [#def866]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:42:2: note: Taking false branch
# 40| // Rewrite request URI to be a thumbnail request if it matches those
# 41| // weird XBox thumbnail requests
# 42|-> if (message == null) {
# 43| return;
# 44| }
Error: CLANG_WARNING: [#def867]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:42:6: note: Assuming 'message' is not equal to NULL
# 40| // Rewrite request URI to be a thumbnail request if it matches those
# 41| // weird XBox thumbnail requests
# 42|-> if (message == null) {
# 43| return;
# 44| }
Error: CLANG_WARNING: [#def868]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:47:2: note: Taking false branch
# 45|
# 46| var query = message.get_uri ().get_query ();
# 47|-> if (query == null) {
# 48| return;
# 49| }
Error: CLANG_WARNING: [#def869]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:47:6: note: Assuming '_tmp3_' is not equal to NULL
# 45|
# 46| var query = message.get_uri ().get_query ();
# 47|-> if (query == null) {
# 48| return;
# 49| }
Error: CLANG_WARNING: [#def870]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:55:2: note: Taking false branch
# 53| string val;
# 54| bool rewrite = false;
# 55|-> try {
# 56| while (iter.next (out param, out val)) {
# 57| if (param == "albumArt") {
Error: CLANG_WARNING: [#def871]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:55:6: note: Taking false branch
# 53| string val;
# 54| bool rewrite = false;
# 55|-> try {
# 56| while (iter.next (out param, out val)) {
# 57| if (param == "albumArt") {
Error: CLANG_WARNING: [#def872]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:55:18: note: '_inner_error0_' is equal to null
# 53| string val;
# 54| bool rewrite = false;
# 55|-> try {
# 56| while (iter.next (out param, out val)) {
# 57| if (param == "albumArt") {
Error: CLANG_WARNING: [#def873]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:56:3: note: Loop condition is true. Entering loop body
# 54| bool rewrite = false;
# 55| try {
# 56|-> while (iter.next (out param, out val)) {
# 57| if (param == "albumArt") {
# 58| if (!bool.parse (val)) {
Error: CLANG_WARNING: [#def874]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:56:4: note: Taking false branch
# 54| bool rewrite = false;
# 55| try {
# 56|-> while (iter.next (out param, out val)) {
# 57| if (param == "albumArt") {
# 58| if (!bool.parse (val)) {
Error: CLANG_WARNING: [#def875]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:56:8: note: Assuming '_tmp5_' is not equal to 0
# 54| bool rewrite = false;
# 55| try {
# 56|-> while (iter.next (out param, out val)) {
# 57| if (param == "albumArt") {
# 58| if (!bool.parse (val)) {
Error: CLANG_WARNING: [#def876]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:56:8: note: Taking false branch
# 54| bool rewrite = false;
# 55| try {
# 56|-> while (iter.next (out param, out val)) {
# 57| if (param == "albumArt") {
# 58| if (!bool.parse (val)) {
Error: CLANG_WARNING: [#def877]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:56:20: note: Assuming '_inner_error0_' is equal to null
# 54| bool rewrite = false;
# 55| try {
# 56|-> while (iter.next (out param, out val)) {
# 57| if (param == "albumArt") {
# 58| if (!bool.parse (val)) {
Error: CLANG_WARNING: [#def878]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:57:4: note: Taking true branch
# 55| try {
# 56| while (iter.next (out param, out val)) {
# 57|-> if (param == "albumArt") {
# 58| if (!bool.parse (val)) {
# 59| return;
Error: CLANG_WARNING: [#def879]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:57:8: note: Assuming the condition is true
# 55| try {
# 56| while (iter.next (out param, out val)) {
# 57|-> if (param == "albumArt") {
# 58| if (!bool.parse (val)) {
# 59| return;
Error: CLANG_WARNING: [#def880]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:58:5: note: Taking false branch
# 56| while (iter.next (out param, out val)) {
# 57| if (param == "albumArt") {
# 58|-> if (!bool.parse (val)) {
# 59| return;
# 60| } else {
Error: CLANG_WARNING: [#def881]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:63:6: note: Execution continues on line 829
# 61| rewrite = true;
# 62|
# 63|-> break;
# 64| }
# 65| }
Error: CLANG_WARNING: [#def882]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:71:2: note: Taking false branch
# 69| }
# 70|
# 71|-> if (!rewrite) {
# 72| return;
# 73| }
Error: CLANG_WARNING: [#def883]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:71:7: note: 'rewrite' is 1
# 69| }
# 70|
# 71|-> if (!rewrite) {
# 72| return;
# 73| }
Error: CLANG_WARNING: [#def884]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:76:12: note: '?' condition is false
# 74|
# 75| var path = message.get_uri ().get_path ();
# 76|-> var particles = path.split ("/")[0:4];
# 77| particles += "th";
# 78| particles += "0";
Error: CLANG_WARNING: [#def885]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:76:13: note: Assuming '_tmp17_' is equal to NULL
# 74|
# 75| var path = message.get_uri ().get_path ();
# 76|-> var particles = path.split ("/")[0:4];
# 77| particles += "th";
# 78| particles += "0";
Error: CLANG_WARNING: [#def886]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:77:2: note: Calling '_vala_array_add1'
# 75| var path = message.get_uri ().get_path ();
# 76| var particles = path.split ("/")[0:4];
# 77|-> particles += "th";
# 78| particles += "0";
# 79|
Error: CLANG_WARNING: [#def887]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:77:2: note: Returning from '_vala_array_add1'
# 75| var path = message.get_uri ().get_path ();
# 76| var particles = path.split ("/")[0:4];
# 77|-> particles += "th";
# 78| particles += "0";
# 79|
Error: CLANG_WARNING: [#def888]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:77:2: note: Taking true branch
# 75| var path = message.get_uri ().get_path ();
# 76| var particles = path.split ("/")[0:4];
# 77|-> particles += "th";
# 78| particles += "0";
# 79|
Error: CLANG_WARNING: [#def889]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:77:11: note: '?' condition is true
# 75| var path = message.get_uri ().get_path ();
# 76| var particles = path.split ("/")[0:4];
# 77|-> particles += "th";
# 78| particles += "0";
# 79|
Error: CLANG_WARNING: [#def890]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:77:12: note: '__s' is not equal to 1
# 75| var path = message.get_uri ().get_path ();
# 76| var particles = path.split ("/")[0:4];
# 77|-> particles += "th";
# 78| particles += "0";
# 79|
Error: CLANG_WARNING: [#def891]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:77:12: note: Left side of '&&' is false
# 75| var path = message.get_uri ().get_path ();
# 76| var particles = path.split ("/")[0:4];
# 77|-> particles += "th";
# 78| particles += "0";
# 79|
Error: CLANG_WARNING: [#def892]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:77:12: note: Storing uninitialized value
# 75| var path = message.get_uri ().get_path ();
# 76| var particles = path.split ("/")[0:4];
# 77|-> particles += "th";
# 78| particles += "0";
# 79|
Error: CLANG_WARNING: [#def893]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:77:12: note: Taking false branch
# 75| var path = message.get_uri ().get_path ();
# 76| var particles = path.split ("/")[0:4];
# 77|-> particles += "th";
# 78| particles += "0";
# 79|
Error: CLANG_WARNING: [#def894]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:78:2: note: Calling '_vala_array_add2'
# 76| var particles = path.split ("/")[0:4];
# 77| particles += "th";
# 78|-> particles += "0";
# 79|
# 80| message.set_redirect (Soup.Status.MOVED_PERMANENTLY, string.joinv ("/", particles));
Error: CLANG_WARNING: [#def895]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:78:2: note: Returning from '_vala_array_add2'
# 76| var particles = path.split ("/")[0:4];
# 77| particles += "th";
# 78|-> particles += "0";
# 79|
# 80| message.set_redirect (Soup.Status.MOVED_PERMANENTLY, string.joinv ("/", particles));
Error: CLANG_WARNING: [#def896]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:78:2: note: Taking false branch
# 76| var particles = path.split ("/")[0:4];
# 77| particles += "th";
# 78|-> particles += "0";
# 79|
# 80| message.set_redirect (Soup.Status.MOVED_PERMANENTLY, string.joinv ("/", particles));
Error: CLANG_WARNING: [#def897]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:80:12: note: Calling '_vala_g_strjoinv'
# 78| particles += "0";
# 79|
# 80|-> message.set_redirect (Soup.Status.MOVED_PERMANENTLY, string.joinv ("/", particles));
# 81| }
# 82|
Error: CLANG_WARNING: [#def898]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:114:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 112| }
# 113|
# 114|-> public override void translate_container_id
# 115| (MediaQueryAction action,
# 116| ref string container_id) {
Error: CLANG_WARNING: [#def899]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:132:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 130| }
# 131|
# 132|-> public override void apply (MediaObject object) {
# 133| if (object is MediaContainer) {
# 134| if (object.upnp_class == MediaContainer.UPNP_CLASS) {
Error: CLANG_WARNING: [#def900]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:151:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 149| }
# 150|
# 151|-> public override void filter_sort_criteria (ref string sort_criteria) {
# 152| sort_criteria = sort_criteria.replace ("+microsoft:sourceURL", "");
# 153| sort_criteria = sort_criteria.replace (",,", ",");
Error: CLANG_WARNING: [#def901]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:153:2: note: Assigning the value of '_tmp1_'
# 151| public override void filter_sort_criteria (ref string sort_criteria) {
# 152| sort_criteria = sort_criteria.replace ("+microsoft:sourceURL", "");
# 153|-> sort_criteria = sort_criteria.replace (",,", ",");
# 154| if (sort_criteria.has_prefix (",")) {
# 155| sort_criteria = sort_criteria.slice (1, sort_criteria.length);
Error: CLANG_WARNING: [#def902]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:153:2: note: Value assigned to '_tmp1_'
# 151| public override void filter_sort_criteria (ref string sort_criteria) {
# 152| sort_criteria = sort_criteria.replace ("+microsoft:sourceURL", "");
# 153|-> sort_criteria = sort_criteria.replace (",,", ",");
# 154| if (sort_criteria.has_prefix (",")) {
# 155| sort_criteria = sort_criteria.slice (1, sort_criteria.length);
Error: CLANG_WARNING: [#def903]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:153:11: note: Returning from 'string_replace'
# 151| public override void filter_sort_criteria (ref string sort_criteria) {
# 152| sort_criteria = sort_criteria.replace ("+microsoft:sourceURL", "");
# 153|-> sort_criteria = sort_criteria.replace (",,", ",");
# 154| if (sort_criteria.has_prefix (",")) {
# 155| sort_criteria = sort_criteria.slice (1, sort_criteria.length);
Error: CLANG_WARNING: [#def904]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:154:2: note: Taking true branch
# 152| sort_criteria = sort_criteria.replace ("+microsoft:sourceURL", "");
# 153| sort_criteria = sort_criteria.replace (",,", ",");
# 154|-> if (sort_criteria.has_prefix (",")) {
# 155| sort_criteria = sort_criteria.slice (1, sort_criteria.length);
# 156| }
Error: CLANG_WARNING: [#def905]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:154:6: note: '?' condition is true
# 152| sort_criteria = sort_criteria.replace ("+microsoft:sourceURL", "");
# 153| sort_criteria = sort_criteria.replace (",,", ",");
# 154|-> if (sort_criteria.has_prefix (",")) {
# 155| sort_criteria = sort_criteria.slice (1, sort_criteria.length);
# 156| }
Error: CLANG_WARNING: [#def906]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:154:6: note: Assuming '__str' is equal to null
# 152| sort_criteria = sort_criteria.replace ("+microsoft:sourceURL", "");
# 153| sort_criteria = sort_criteria.replace (",,", ",");
# 154|-> if (sort_criteria.has_prefix (",")) {
# 155| sort_criteria = sort_criteria.slice (1, sort_criteria.length);
# 156| }
Error: CLANG_WARNING: [#def907]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:154:6: note: Assuming the condition is true
# 152| sort_criteria = sort_criteria.replace ("+microsoft:sourceURL", "");
# 153| sort_criteria = sort_criteria.replace (",,", ",");
# 154|-> if (sort_criteria.has_prefix (",")) {
# 155| sort_criteria = sort_criteria.slice (1, sort_criteria.length);
# 156| }
Error: CLANG_WARNING: [#def908]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:154:6: note: Left side of '||' is true
# 152| sort_criteria = sort_criteria.replace ("+microsoft:sourceURL", "");
# 153| sort_criteria = sort_criteria.replace (",,", ",");
# 154|-> if (sort_criteria.has_prefix (",")) {
# 155| sort_criteria = sort_criteria.slice (1, sort_criteria.length);
# 156| }
Error: CLANG_WARNING: [#def909]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:154:6: note: Taking true branch
# 152| sort_criteria = sort_criteria.replace ("+microsoft:sourceURL", "");
# 153| sort_criteria = sort_criteria.replace (",,", ",");
# 154|-> if (sort_criteria.has_prefix (",")) {
# 155| sort_criteria = sort_criteria.slice (1, sort_criteria.length);
# 156| }
Error: CLANG_WARNING: [#def910]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:155:12: note: Null pointer passed to 1st parameter expecting 'nonnull'
# 153| sort_criteria = sort_criteria.replace (",,", ",");
# 154| if (sort_criteria.has_prefix (",")) {
# 155|-> sort_criteria = sort_criteria.slice (1, sort_criteria.length);
# 156| }
# 157| }
Error: CLANG_WARNING: [#def911]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:155:12: warning[core.NonNullParamChecker]: Null pointer passed to 1st parameter expecting 'nonnull'
# 153| sort_criteria = sort_criteria.replace (",,", ",");
# 154| if (sort_criteria.has_prefix (",")) {
# 155|-> sort_criteria = sort_criteria.slice (1, sort_criteria.length);
# 156| }
# 157| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def912]
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala: scope_hint: In function ‘rygel_xbox_hacks_real_search_co’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:177:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala: scope_hint: In function ‘rygel_xbox_hacks_real_search_co’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:303:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:174:6: note: in expansion of macro ‘RYGEL_IS_RELATIONAL_EXPRESSION’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:303:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:174:6: note: in expansion of macro ‘RYGEL_IS_RELATIONAL_EXPRESSION’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:303:46: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/librygel-server/rygel-xbox-hacks.vala:175:51: note: in expansion of macro ‘RYGEL_IS_RELATIONAL_EXPRESSION’
# 175| var rel_expression = expression as RelationalExpression;
# 176|
# 177|-> if (likely (rel_expression.operand1 != null) &&
# 178| rel_expression.operand1 == "upnp:class") {
# 179| set_total_matches = true;
Error: COMPILER_WARNING: [#def913]
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-data-source.vala: scope_hint: In function ‘rygel_gst_data_source_real_preroll’
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-data-source.vala:87:13: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘gint64’ {aka ‘long int’}
# 87 | debug ("Processing byte seek request for bytes %lld-%lld",
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 88 | seek_response.start_byte,
# |
# | |
# | gint64 {aka long int}
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 85| var seek_response = new HTTPByteSeekResponse.from_request
# 86| (seek_request as HTTPByteSeekRequest);
# 87|-> debug ("Processing byte seek request for bytes %lld-%lld",
# 88| seek_response.start_byte,
# 89| seek_response.end_byte);
Error: COMPILER_WARNING: [#def914]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-data-source.vala:87:13: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘gint64’ {aka ‘long int’}
# 87 | debug ("Processing byte seek request for bytes %lld-%lld",
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 88 | seek_response.start_byte,
# | ~~~~~~
# | |
# | gint64 {aka long int}
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 85| var seek_response = new HTTPByteSeekResponse.from_request
# 86| (seek_request as HTTPByteSeekRequest);
# 87|-> debug ("Processing byte seek request for bytes %lld-%lld",
# 88| seek_response.start_byte,
# 89| seek_response.end_byte);
Error: COMPILER_WARNING: [#def915]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-data-source.vala:101:14: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘gint64’ {aka ‘long int’}
# 101 | debug ("Processing time seek request for %lldms-%lldms",
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 102 | seek_response.start_time,
# |
# | |
# | gint64 {aka long int}
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 99| (time_seek,
# 100| res.duration * TimeSpan.SECOND);
# 101|-> debug ("Processing time seek request for %lldms-%lldms",
# 102| seek_response.start_time,
# 103| seek_response.end_time);
Error: COMPILER_WARNING: [#def916]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-data-source.vala:101:14: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘gint64’ {aka ‘long int’}
# 101 | debug ("Processing time seek request for %lldms-%lldms",
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 102 | seek_response.start_time,
# | ~~~~~~~
# | |
# | gint64 {aka long int}
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 99| (time_seek,
# 100| res.duration * TimeSpan.SECOND);
# 101|-> debug ("Processing time seek request for %lldms-%lldms",
# 102| seek_response.start_time,
# 103| seek_response.end_time);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def917]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-data-source.vala: scope_hint: In function ‘rygel_gst_data_source_real_perform_seek’
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-data-source.vala:299:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/gstreamer/librygel-media-engine-gst.so.p/rygel-gst-data-source.c:30: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-data-source.vala:295:6: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-data-source.vala:295:6: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-data-source.vala:296:28: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
# 297| format = Format.TIME;
# 298| flags |= SeekFlags.KEY_UNIT;
# 299|-> start = time_seek.start_time * Gst.USECOND;
# 300| // Work-around for https://bugzilla.gnome.org/show_bug.cgi?id=762787
# 301| if (this.src.name == "dvdreadsrc" && start == 0) {
Error: COMPILER_WARNING: [#def918]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-data-source.vala: scope_hint: In function ‘rygel_gst_data_source_real_perform_seek’
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-data-source.vala:305:12: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘gint64’ {aka ‘long int’}
# 305 | debug ("Performing time-range seek: %lldns to %lldns", start, stop);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 306 | } else if (this.seek is HTTPByteSeekRequest) {
# | ~~~~~
# | |
# | gint64 {aka long int}
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 303| }
# 304| stop = time_seek.end_time * Gst.USECOND;
# 305|-> debug ("Performing time-range seek: %lldns to %lldns", start, stop);
# 306| } else if (this.seek is HTTPByteSeekRequest) {
# 307| var byte_seek = this.seek as HTTPByteSeekRequest;
Error: COMPILER_WARNING: [#def919]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-data-source.vala:305:12: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘gint64’ {aka ‘long int’}
# 305 | debug ("Performing time-range seek: %lldns to %lldns", start, stop);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 306 | } else if (this.seek is HTTPByteSeekRequest) {
# | ~~~~
# | |
# | gint64 {aka long int}
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 303| }
# 304| stop = time_seek.end_time * Gst.USECOND;
# 305|-> debug ("Performing time-range seek: %lldns to %lldns", start, stop);
# 306| } else if (this.seek is HTTPByteSeekRequest) {
# 307| var byte_seek = this.seek as HTTPByteSeekRequest;
Error: COMPILER_WARNING: [#def920]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-data-source.vala:318:13: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘gint64’ {aka ‘long int’}
# 318 | debug ("Performing byte-range seek: bytes %lld to %lld",
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 319 | start,
# |
# | |
# | gint64 {aka long int}
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 316| start = byte_seek.start_byte;
# 317| stop = byte_seek.end_byte;
# 318|-> debug ("Performing byte-range seek: bytes %lld to %lld",
# 319| start,
# 320| stop);
Error: COMPILER_WARNING: [#def921]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-data-source.vala:318:13: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘gint64’ {aka ‘long int’}
# 318 | debug ("Performing byte-range seek: bytes %lld to %lld",
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 319 | start,
# | ~~~~
# | |
# | gint64 {aka long int}
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 316| start = byte_seek.start_byte;
# 317| stop = byte_seek.end_byte;
# 318|-> debug ("Performing byte-range seek: bytes %lld to %lld",
# 319| start,
# 320| stop);
Error: COMPILER_WARNING: [#def922]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-data-source.vala:340:17: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘gint64’ {aka ‘long int’}
# 340 | warning (_("Failed to seek to offsets %lld:%lld"), start, stop);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmessages.h:364:32: note: in definition of macro ‘g_warning’
# 364 | __VA_ARGS__)
# | ^~~~~~~~~~~
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-data-source.vala:340:14: note: in expansion of macro ‘_’
# 340 | warning (_("Failed to seek to offsets %lld:%lld"), start, stop);
# | ^
# 338| stop_type,
# 339| stop + 1)) {
# 340|-> warning (_("Failed to seek to offsets %lld:%lld"), start, stop);
# 341|
# 342| this.error (new DataSourceError.SEEK_FAILED (_("Failed to seek")));
Error: COMPILER_WARNING: [#def923]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-data-source.vala:340:17: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘gint64’ {aka ‘long int’}
# 340 | warning (_("Failed to seek to offsets %lld:%lld"), start, stop);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmessages.h:364:32: note: in definition of macro ‘g_warning’
# 364 | __VA_ARGS__)
# | ^~~~~~~~~~~
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-data-source.vala:340:14: note: in expansion of macro ‘_’
# 340 | warning (_("Failed to seek to offsets %lld:%lld"), start, stop);
# | ^
# 338| stop_type,
# 339| stop + 1)) {
# 340|-> warning (_("Failed to seek to offsets %lld:%lld"), start, stop);
# 341|
# 342| this.error (new DataSourceError.SEEK_FAILED (_("Failed to seek")));
Error: CLANG_WARNING: [#def924]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-media-engine.vala:35:2: warning[deadcode.DeadStores]: Value stored to '_args_size_' is never read
# 33|
# 34| public GstMediaEngine () {
# 35|-> unowned string[] args = null;
# 36|
# 37| Gst.init (ref args);
Error: CLANG_WARNING: [#def925]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-media-engine.vala:37:2: warning[deadcode.DeadStores]: Value stored to '_args_size_' is never read
# 35| unowned string[] args = null;
# 36|
# 37|-> Gst.init (ref args);
# 38| GES.init ();
# 39| Gst.Preset.set_app_dir (BuildConfig.PRESET_DIR);
Error: CLANG_WARNING: [#def926]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-media-engine.vala:176:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 174| }
# 175|
# 176|-> list.sort_with_data( (transcoder_1, transcoder_2) => {
# 177| return (int) (transcoder_1.get_distance (item) -
# 178| transcoder_2.get_distance (item));
Error: CLANG_WARNING: [#def927]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-media-engine.vala:241:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 239| }
# 240|
# 241|-> public override DataSource? create_data_source_for_uri (string source_uri) {
# 242| try {
# 243| debug("creating data source for %s", source_uri);
Error: CLANG_WARNING: [#def928]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-media-engine.vala:259:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 257| }
# 258|
# 259|-> public override GLib.List<string> get_internal_protocol_schemes () {
# 260| var list = new GLib.List<string> ();
# 261| list.prepend ("dvd");
Error: CLANG_WARNING: [#def929]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-sink.vala:136:2: warning[deadcode.DeadStores]: Value stored to '_tmp4__length1' is never read
# 134| buffer.map (out info, MapFlags.READ);
# 135|
# 136|-> unowned uint8[] tmp = info.data[0:to_send];
# 137|
# 138| this.source.data_available (tmp);
Error: CLANG_WARNING: [#def930]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-sink.vala:136:2: warning[deadcode.DeadStores]: Value stored to '_tmp_size_' is never read
# 134| buffer.map (out info, MapFlags.READ);
# 135|
# 136|-> unowned uint8[] tmp = info.data[0:to_send];
# 137|
# 138| this.source.data_available (tmp);
Error: COMPILER_WARNING (CWE-704): [#def931]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-transcoder.vala: scope_hint: In function ‘rygel_gst_transcoder_set_name’
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-transcoder.vala:44:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 42| private const string DEFAULT_ENCODING_PRESET = "Rygel DLNA preset";
# 43|
# 44|-> public string name { get; construct; }
# 45| public string mime_type { get; construct; }
# 46| public string dlna_profile { get; construct; }
Error: COMPILER_WARNING (CWE-704): [#def932]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-transcoder.vala: scope_hint: In function ‘rygel_gst_transcoder_set_mime_type’
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-transcoder.vala:45:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 43|
# 44| public string name { get; construct; }
# 45|-> public string mime_type { get; construct; }
# 46| public string dlna_profile { get; construct; }
# 47| public string extension { get; construct; }
Error: COMPILER_WARNING (CWE-704): [#def933]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-transcoder.vala: scope_hint: In function ‘rygel_gst_transcoder_set_dlna_profile’
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-transcoder.vala:46:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 44| public string name { get; construct; }
# 45| public string mime_type { get; construct; }
# 46|-> public string dlna_profile { get; construct; }
# 47| public string extension { get; construct; }
# 48|
Error: COMPILER_WARNING (CWE-704): [#def934]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-transcoder.vala: scope_hint: In function ‘rygel_gst_transcoder_set_extension’
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-transcoder.vala:47:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 45| public string mime_type { get; construct; }
# 46| public string dlna_profile { get; construct; }
# 47|-> public string extension { get; construct; }
# 48|
# 49| public string preset { get;
Error: COMPILER_WARNING (CWE-704): [#def935]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-transcoder.vala: scope_hint: In function ‘rygel_gst_transcoder_set_preset’
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-transcoder.vala:50:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 48|
# 49| public string preset { get;
# 50|-> protected set;
# 51| default = DEFAULT_ENCODING_PRESET; }
# 52|
Error: CLANG_WARNING: [#def936]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-transcoding-data-source.vala:80:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 78| }
# 79|
# 80|-> public override bool perform_seek () {
# 81| return true;
# 82| }
Error: CLANG_WARNING: [#def937]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-utils.vala:81:13: warning[core.NullDereference]: Access to field 'g_class' results in a dereference of a null pointer (loaded from variable '_tmp35_')
# 79| }
# 80|
# 81|-> if (src.get_class ().find_property ("blocksize") != null) {
# 82| // The default is usually 4KiB which is not really big enough
# 83| // for most cases so we set this to 65KiB.
Error: COMPILER_WARNING (CWE-704): [#def938]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-utils.vala: scope_hint: In function ‘rygel_gst_utils_dump_encoding_profile’
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-gst-utils.vala:111:11: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 111 | foreach (var subprofile in container.get_profiles ()) {
# | ^
# 109| if (profile is EncodingContainerProfile) {
# 110| var container = profile as EncodingContainerProfile;
# 111|-> foreach (var subprofile in container.get_profiles ()) {
# 112| dump_encoding_profile (subprofile, indent + 4);
# 113| }
Error: CLANG_WARNING: [#def939]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-jpeg-transcoder.vala:64:2: warning[deadcode.DeadStores]: Value stored to 'width' is never read
# 62| (MediaFileItem file_item) {
# 63| var item = file_item as VisualItem;
# 64|-> int width = -1;
# 65| int height = -1;
# 66|
Error: CLANG_WARNING: [#def940]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-jpeg-transcoder.vala:65:2: warning[deadcode.DeadStores]: Value stored to 'height' is never read
# 63| var item = file_item as VisualItem;
# 64| int width = -1;
# 65|-> int height = -1;
# 66|
# 67| this.calculate_dimensions (item, out width, out height);
Error: CLANG_WARNING: [#def941]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-jpeg-transcoder.vala:76:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 74| }
# 75|
# 76|-> public override uint get_distance (MediaFileItem item) {
# 77| debug ("Getting distance of JPEG transcoder to %s", item.id);
# 78|
Error: CLANG_WARNING: [#def942]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-l16-transcoder.vala:59:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 57| }
# 58|
# 59|-> public override uint get_distance (MediaFileItem item) {
# 60| if (!(item is AudioItem) || item is VideoItem) {
# 61| return uint.MAX;
Error: CLANG_WARNING: [#def943]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/gstreamer/rygel-mp2ts-transcoder.vala:38:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 36| * Transcoder for mpeg transport stream containing mpeg 2 video and mp2 audio.
# 37| */
# 38|-> internal class Rygel.MP2TSTranscoder : Rygel.VideoTranscoder {
# 39| private const int VIDEO_BITRATE = 1500;
# 40| private const int AUDIO_BITRATE = 192;
Error: COMPILER_WARNING: [#def944]
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/media-engines/simple/librygel-media-engine-simple.so.p/rygel-simple-data-source.c:28: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/simple/rygel-simple-data-source.vala: scope_hint: In function ‘rygel_simple_data_source_real_preroll’
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/simple/rygel-simple-data-source.vala:70:12: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘gint64’ {aka ‘long int’}
# 70 | debug ("Processing byte seek request for bytes %lld-%lld of %s",
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 71 | byte_seek.start_byte,
# | ~~~~~~~
# | |
# | gint64 {aka long int}
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 68| this.first_byte = (Posix.off_t) byte_seek.start_byte;
# 69| this.last_byte = (Posix.off_t) (byte_seek.end_byte + 1);
# 70|-> debug ("Processing byte seek request for bytes %lld-%lld of %s",
# 71| byte_seek.start_byte,
# 72| byte_seek.end_byte,
Error: COMPILER_WARNING: [#def945]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/simple/rygel-simple-data-source.vala:70:12: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘gint64’ {aka ‘long int’}
# 70 | debug ("Processing byte seek request for bytes %lld-%lld of %s",
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 71 | byte_seek.start_byte,
# | ~~~~~~~
# | |
# | gint64 {aka long int}
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 68| this.first_byte = (Posix.off_t) byte_seek.start_byte;
# 69| this.last_byte = (Posix.off_t) (byte_seek.end_byte + 1);
# 70|-> debug ("Processing byte seek request for bytes %lld-%lld of %s",
# 71| byte_seek.start_byte,
# 72| byte_seek.end_byte,
Error: CLANG_WARNING: [#def946]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/simple/rygel-simple-data-source.vala:143:2: warning[deadcode.DeadStores]: Value stored to 'fd' is never read
# 141| var file = File.new_for_commandline_arg (this.uri);
# 142| debug ("Spawning new thread for streaming file %s", this.uri);
# 143|-> int fd = -1;
# 144| try {
# 145| fd = Posix.open (file.get_path (), Posix.O_RDONLY, 0);
Error: CLANG_WARNING: [#def947]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/simple/rygel-simple-data-source.vala:190:4: warning[deadcode.DeadStores]: Value stored to '_tmp12__length1' is never read
# 188|
# 189| var slice = new uint8[stop - start];
# 190|-> var len = (int) Posix.read (fd, slice, slice.length);
# 191| if (len < 0) {
# 192| throw IOError.from_errno (errno);
Error: CLANG_WARNING: [#def948]
rygel-0.42.6-build/rygel-0.42.6/src/media-engines/simple/rygel-simple-data-source.vala:190:4: warning[deadcode.DeadStores]: Value stored to '_tmp13_' is never read
# 188|
# 189| var slice = new uint8[stop - start];
# 190|-> var len = (int) Posix.read (fd, slice, slice.length);
# 191| if (len < 0) {
# 192| throw IOError.from_errno (errno);
Error: CLANG_WARNING: [#def949]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-album-art-factory.vala:52:2: warning[deadcode.DeadStores]: Value stored to '_uris_size_' is never read
# 50|
# 51| value = props.lookup ("URLs");
# 52|-> var uris = (string[]) value;
# 53| if (uris != null && uris[0] != null) {
# 54| thumbnail.uri = uris[0];
Error: CLANG_WARNING: [#def950]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-album-art-factory.vala:53:2: warning[deadcode.DeadStores]: Value stored to '_tmp11__length1' is never read
# 51| value = props.lookup ("URLs");
# 52| var uris = (string[]) value;
# 53|-> if (uris != null && uris[0] != null) {
# 54| thumbnail.uri = uris[0];
# 55| }
Error: CLANG_WARNING: [#def951]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-album-art-factory.vala:53:3: warning[deadcode.DeadStores]: Value stored to '_tmp12__length1' is never read
# 51| value = props.lookup ("URLs");
# 52| var uris = (string[]) value;
# 53|-> if (uris != null && uris[0] != null) {
# 54| thumbnail.uri = uris[0];
# 55| }
Error: CLANG_WARNING: [#def952]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-album-art-factory.vala:54:3: warning[deadcode.DeadStores]: Value stored to '_tmp15__length1' is never read
# 52| var uris = (string[]) value;
# 53| if (uris != null && uris[0] != null) {
# 54|-> thumbnail.uri = uris[0];
# 55| }
# 56|
Error: CLANG_WARNING: [#def953]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-container.vala:32:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 30| * Represents an external container.
# 31| */
# 32|-> public class Rygel.External.Container : Rygel.MediaContainer,
# 33| Rygel.SearchableContainer {
# 34| public MediaContainerProxy actual_container;
Error: COMPILER_WARNING (CWE-843): [#def954]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-container.vala: scope_hint: In function ‘rygel_external_container_construct’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-container.vala:75:49: warning[-Wincompatible-pointer-types]: passing argument 2 of ‘g_object_add_weak_pointer’ from incompatible pointer type
# 75 | parent.add_weak_pointer (&this.parent_ptr);
# | ^~~~~~~
# | |
# | RygelMediaContainer ** {aka struct _RygelMediaContainer **}
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:6: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/external/rygel-external.h:6: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/external/librygel-external.so.p/rygel-external-container.c:28: included_from: Included from here.
/usr/include/glib-2.0/gobject/gobject.h:526:64: note: expected ‘void **’ but argument is of type ‘RygelMediaContainer **’ {aka ‘struct _RygelMediaContainer **’}
# 526 | gpointer *weak_pointer_location);
# | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
# 73| this.update_container.begin (true);
# 74| if (parent != null) {
# 75|-> parent.add_weak_pointer (&this.parent_ptr);
# 76| }
# 77| }
Error: COMPILER_WARNING (CWE-843): [#def955]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-container.vala: scope_hint: In function ‘rygel_external_container_finalize’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-container.vala:81:52: warning[-Wincompatible-pointer-types]: passing argument 2 of ‘g_object_remove_weak_pointer’ from incompatible pointer type
# 81 | this.parent.remove_weak_pointer (&this.parent_ptr);
# | ^~~~~~~~~~~~
# | |
# | RygelMediaContainer ** {aka struct _RygelMediaContainer **}
/usr/include/glib-2.0/gobject/gobject.h:529:64: note: expected ‘void **’ but argument is of type ‘RygelMediaContainer **’ {aka ‘struct _RygelMediaContainer **’}
# 529 | gpointer *weak_pointer_location);
# | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
# 79| ~Container() {
# 80| if (this.parent != null) {
# 81|-> this.parent.remove_weak_pointer (&this.parent_ptr);
# 82| }
# 83| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def956]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-container.vala: scope_hint: In function ‘rygel_external_container_translate_expression’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-container.vala:396:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-container.vala:391:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:2672:60: note: in definition of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-container.vala:393:6: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-container.vala:393:51: note: in expansion of macro ‘RYGEL_TYPE_RELATIONAL_EXPRESSION’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-container.vala:394:43: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
# 394| var expression = upnp_expression as RelationalExpression;
# 395| var ext_expression = new RelationalExpression ();
# 396|-> ext_expression.op = expression.op;
# 397| ext_expression.operand1 = this.translate_property
# 398| (expression.operand1);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def957]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-container.vala:406:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-container.vala:391:2: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:2672:60: note: in definition of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-container.vala:393:6: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-container.vala:393:51: note: in expansion of macro ‘RYGEL_TYPE_RELATIONAL_EXPRESSION’
/usr/include/glib-2.0/gobject/gtype.h:2672:60: note: in definition of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-container.vala:403:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-container.vala:403:89: note: in expansion of macro ‘RYGEL_TYPE_LOGICAL_EXPRESSION’
# 404| var ext_expression = new LogicalExpression ();
# 405|
# 406|-> ext_expression.op = expression.op;
# 407| ext_expression.operand1 = this.translate_expression
# 408| (expression.operand1);
Error: CLANG_WARNING: [#def958]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-icon-factory.vala:55:2: warning[deadcode.DeadStores]: Value stored to '_uris_size_' is never read
# 53| var icon = new IconInfo (mime_type, this.get_ext_for_mime (mime_type));
# 54|
# 55|-> var uris = (string[]) props.lookup ("URLs");
# 56| if (uris != null && uris[0] != null) {
# 57| icon.uri = uris[0];
Error: CLANG_WARNING: [#def959]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-icon-factory.vala:56:2: warning[deadcode.DeadStores]: Value stored to '_tmp11__length1' is never read
# 54|
# 55| var uris = (string[]) props.lookup ("URLs");
# 56|-> if (uris != null && uris[0] != null) {
# 57| icon.uri = uris[0];
# 58| }
Error: CLANG_WARNING: [#def960]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-icon-factory.vala:56:3: warning[deadcode.DeadStores]: Value stored to '_tmp12__length1' is never read
# 54|
# 55| var uris = (string[]) props.lookup ("URLs");
# 56|-> if (uris != null && uris[0] != null) {
# 57| icon.uri = uris[0];
# 58| }
Error: CLANG_WARNING: [#def961]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-icon-factory.vala:57:3: warning[deadcode.DeadStores]: Value stored to '_tmp15__length1' is never read
# 55| var uris = (string[]) props.lookup ("URLs");
# 56| if (uris != null && uris[0] != null) {
# 57|-> icon.uri = uris[0];
# 58| }
# 59|
Error: CLANG_WARNING: [#def962]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-item-factory.vala:141:2: warning[deadcode.DeadStores]: Value stored to '_uris_size_' is never read
# 139| "image/jpeg",
# 140| service_name);
# 141|-> var uris = get_mandatory_string_list_value (props,
# 142| "URLs",
# 143| null,
Error: CLANG_WARNING: [#def963]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-item-factory.vala:145:2: warning[deadcode.DeadStores]: Value stored to '_tmp4__length1' is never read
# 143| null,
# 144| service_name);
# 145|-> if (uris != null) {
# 146| for (var i = 0; uris[i] != null; i++) {
# 147| item.add_uri (uris[i]);
Error: CLANG_WARNING: [#def964]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-item-factory.vala:146:6: warning[deadcode.DeadStores]: Value stored to '_tmp7__length1' is never read
# 144| service_name);
# 145| if (uris != null) {
# 146|-> for (var i = 0; uris[i] != null; i++) {
# 147| item.add_uri (uris[i]);
# 148| }
Error: CLANG_WARNING: [#def965]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-item-factory.vala:147:6: warning[deadcode.DeadStores]: Value stored to '_tmp9__length1' is never read
# 145| if (uris != null) {
# 146| for (var i = 0; uris[i] != null; i++) {
# 147|-> item.add_uri (uris[i]);
# 148| }
# 149| }
Error: CLANG_WARNING: [#def966]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-plugin-factory.vala:40:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 38| }
# 39|
# 40|-> public class Rygel.External.PluginFactory {
# 41| private const string SERVICE_PREFIX = "org.gnome.UPnP.MediaServer2.";
# 42| private const string GRILO_UPNP_PREFIX = SERVICE_PREFIX + "grl_upnp";
Error: CLANG_WARNING: [#def967]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-thumbnail-factory.vala:55:2: warning[deadcode.DeadStores]: Value stored to '_uris_size_' is never read
# 53|
# 54| var value = props.lookup ("URLs");
# 55|-> var uris = (string[]) value;
# 56| if (uris != null && uris[0] != null) {
# 57| thumbnail.uri = uris[0];
Error: CLANG_WARNING: [#def968]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-thumbnail-factory.vala:56:2: warning[deadcode.DeadStores]: Value stored to '_tmp13__length1' is never read
# 54| var value = props.lookup ("URLs");
# 55| var uris = (string[]) value;
# 56|-> if (uris != null && uris[0] != null) {
# 57| thumbnail.uri = uris[0];
# 58| }
Error: CLANG_WARNING: [#def969]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-thumbnail-factory.vala:56:3: warning[deadcode.DeadStores]: Value stored to '_tmp14__length1' is never read
# 54| var value = props.lookup ("URLs");
# 55| var uris = (string[]) value;
# 56|-> if (uris != null && uris[0] != null) {
# 57| thumbnail.uri = uris[0];
# 58| }
Error: CLANG_WARNING: [#def970]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/external/rygel-external-thumbnail-factory.vala:57:3: warning[deadcode.DeadStores]: Value stored to '_tmp17__length1' is never read
# 55| var uris = (string[]) value;
# 56| if (uris != null && uris[0] != null) {
# 57|-> thumbnail.uri = uris[0];
# 58| }
# 59|
Error: CLANG_WARNING: [#def971]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-albums.vala:84:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 82| "WHERE audio_albums.id = ?;";
# 83|
# 84|-> protected override string get_sql_all_with_filter (string filter) {
# 85| if (filter.length == 0) {
# 86| return Albums.SQL_ALL;
Error: CLANG_WARNING: [#def972]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-albums.vala:91:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 89| }
# 90|
# 91|-> protected override string get_sql_count_with_filter (string filter) {
# 92| if (filter.length == 0) {
# 93| return Albums.SQL_COUNT;
Error: COMPILER_WARNING (CWE-843): [#def973]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-albums.vala: scope_hint: In function ‘rygel_lms_albums_real_get_child_count_with_filter’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-albums.vala:111:10: warning[-Wincompatible-pointer-types]: assignment to ‘void **’ from incompatible pointer type ‘gchar *’ {aka ‘char *’}
# 109| var query = Albums.SQL_CHILD_COUNT_WITH_FILTER_TEMPLATE.printf (filter);
# 110| try {
# 111|-> count += this.lms_db.query_value (query, args.data);
# 112| } catch (DatabaseError e) {
# 113| warning ("Query failed: %s", e.message);
Error: COMPILER_WARNING (CWE-843): [#def974]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-albums.vala:111:89: warning[-Wincompatible-pointer-types]: passing argument 3 of ‘rygel_database_database_query_value’ from incompatible pointer type
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/rygel-lms.h:12: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-albums.c:26: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-db/rygel-db.h:242:51: note: expected ‘GValue *’ {aka ‘struct _GValue *’} but argument is of type ‘void **’
# 109| var query = Albums.SQL_CHILD_COUNT_WITH_FILTER_TEMPLATE.printf (filter);
# 110| try {
# 111|-> count += this.lms_db.query_value (query, args.data);
# 112| } catch (DatabaseError e) {
# 113| warning ("Query failed: %s", e.message);
Error: COMPILER_WARNING (CWE-843): [#def975]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-albums.vala: scope_hint: In function ‘rygel_lms_albums_real_get_children_with_filter’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-albums.vala:136:11: warning[-Wincompatible-pointer-types]: assignment to ‘void **’ from incompatible pointer type ‘gchar *’ {aka ‘char *’}
# 134| var query = Albums.SQL_CHILD_ALL_WITH_FILTER_TEMPLATE.printf (filter);
# 135| try {
# 136|-> var cursor = this.lms_db.exec_cursor (query, args.data);
# 137| foreach (var stmt in cursor) {
# 138| var album_id = stmt.column_text (13);
Error: COMPILER_WARNING (CWE-843): [#def976]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-albums.vala:136:91: warning[-Wincompatible-pointer-types]: passing argument 3 of ‘rygel_database_database_exec_cursor’ from incompatible pointer type
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-db/rygel-db.h:232:67: note: expected ‘GValue *’ {aka ‘struct _GValue *’} but argument is of type ‘void **’
# 134| var query = Albums.SQL_CHILD_ALL_WITH_FILTER_TEMPLATE.printf (filter);
# 135| try {
# 136|-> var cursor = this.lms_db.exec_cursor (query, args.data);
# 137| foreach (var stmt in cursor) {
# 138| var album_id = stmt.column_text (13);
Error: CLANG_WARNING: [#def977]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-all-videos.vala:99:3: warning[deadcode.DeadStores]: Value stored to '_args_size_' is never read
# 97| "and videos.id = videos_audios.video_id and videos.id = videos_videos.video_id;";
# 98| try {
# 99|-> GLib.Value[] args = { id };
# 100| var cursor = this.lms_db.exec_cursor (video_data, args);
# 101| foreach (var stmt in cursor) {
Error: CLANG_WARNING: [#def978]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala:36:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 34| }
# 35|
# 36|-> public abstract class Rygel.LMS.CategoryContainer : Rygel.MediaContainer,
# 37| Rygel.TrackableContainer,
# 38| Rygel.SearchableContainer {
Error: COMPILER_WARNING (CWE-704): [#def979]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala: scope_hint: In function ‘rygel_lms_category_container_set_db_id’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala:43:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 41| public unowned LMS.Database lms_db { get; construct; }
# 42|
# 43|-> public string db_id { get; construct; }
# 44|
# 45| public string sql_all { get; construct; }
Error: COMPILER_WARNING (CWE-704): [#def980]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala: scope_hint: In function ‘rygel_lms_category_container_set_sql_all’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala:45:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 43| public string db_id { get; construct; }
# 44|
# 45|-> public string sql_all { get; construct; }
# 46| public string sql_find_object { get; construct; }
# 47| public string sql_count { get; construct; }
Error: COMPILER_WARNING (CWE-704): [#def981]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala: scope_hint: In function ‘rygel_lms_category_container_set_sql_find_object’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala:46:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 44|
# 45| public string sql_all { get; construct; }
# 46|-> public string sql_find_object { get; construct; }
# 47| public string sql_count { get; construct; }
# 48| public string sql_added { get; construct; }
Error: COMPILER_WARNING (CWE-704): [#def982]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala: scope_hint: In function ‘rygel_lms_category_container_set_sql_count’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala:47:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 45| public string sql_all { get; construct; }
# 46| public string sql_find_object { get; construct; }
# 47|-> public string sql_count { get; construct; }
# 48| public string sql_added { get; construct; }
# 49| public string sql_removed { get; construct; }
Error: COMPILER_WARNING (CWE-704): [#def983]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala: scope_hint: In function ‘rygel_lms_category_container_set_sql_added’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala:48:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 46| public string sql_find_object { get; construct; }
# 47| public string sql_count { get; construct; }
# 48|-> public string sql_added { get; construct; }
# 49| public string sql_removed { get; construct; }
# 50|
Error: COMPILER_WARNING (CWE-704): [#def984]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala: scope_hint: In function ‘rygel_lms_category_container_set_sql_removed’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala:49:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 47| public string sql_count { get; construct; }
# 48| public string sql_added { get; construct; }
# 49|-> public string sql_removed { get; construct; }
# 50|
# 51| protected Cursor cursor_all;
Error: CLANG_WARNING: [#def985]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala:74:2: warning[deadcode.DeadStores]: Value stored to 'use_collation' is never read
# 72| throws Error {
# 73| string column = null;
# 74|-> bool use_collation = false;
# 75|
# 76| // TODO add all used aliases to sql queries
Error: COMPILER_WARNING (CWE-843): [#def986]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala: scope_hint: In function ‘rygel_lms_category_container_real_get_child_count_with_filter’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala:204:10: warning[-Wincompatible-pointer-types]: assignment to ‘void **’ from incompatible pointer type ‘gchar *’ {aka ‘char *’}
# 202| var query = this.get_sql_count_with_filter (where_filter);
# 203| try {
# 204|-> return this.lms_db.query_value (query, args.data);
# 205| } catch (DatabaseError e) {
# 206| warning ("Query failed: %s", e.message);
Error: COMPILER_WARNING (CWE-843): [#def987]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala:204:89: warning[-Wincompatible-pointer-types]: passing argument 3 of ‘rygel_database_database_query_value’ from incompatible pointer type
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/rygel-lms.h:12: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-db/rygel-db.h:242:51: note: expected ‘GValue *’ {aka ‘struct _GValue *’} but argument is of type ‘void **’
# 202| var query = this.get_sql_count_with_filter (where_filter);
# 203| try {
# 204|-> return this.lms_db.query_value (query, args.data);
# 205| } catch (DatabaseError e) {
# 206| warning ("Query failed: %s", e.message);
Error: COMPILER_WARNING (CWE-843): [#def988]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala: scope_hint: In function ‘rygel_lms_category_container_real_get_children_with_filter’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala:226:11: warning[-Wincompatible-pointer-types]: assignment to ‘void **’ from incompatible pointer type ‘gchar *’ {aka ‘char *’}
# 224| var query = this.get_sql_all_with_filter (where_filter);
# 225| try {
# 226|-> var cursor = this.lms_db.exec_cursor (query, args.data);
# 227| foreach (var stmt in cursor) {
# 228| children.add (this.object_from_statement (stmt));
Error: COMPILER_WARNING (CWE-843): [#def989]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala:226:93: warning[-Wincompatible-pointer-types]: passing argument 3 of ‘rygel_database_database_exec_cursor’ from incompatible pointer type
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-db/rygel-db.h:232:67: note: expected ‘GValue *’ {aka ‘struct _GValue *’} but argument is of type ‘void **’
# 224| var query = this.get_sql_all_with_filter (where_filter);
# 225| try {
# 226|-> var cursor = this.lms_db.exec_cursor (query, args.data);
# 227| foreach (var stmt in cursor) {
# 228| children.add (this.object_from_statement (stmt));
Error: CLANG_WARNING: [#def990]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-category-container.vala:357:3: warning[deadcode.DeadStores]: Value stored to '_args_size_' is never read
# 355| this.child_count = this.lms_db.query_value (this.sql_count);
# 356|
# 357|-> GLib.Value[] args = { new_id < old_id ? 0 : old_id,
# 358| new_id };
# 359| this.cursor_added.bind (args);
Error: COMPILER_WARNING: [#def991]
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-server/rygel-server.h:6: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/rygel-lms.h:6: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/lms/librygel-lms.so.p/rygel-lms-database.c:28: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-database.vala: scope_hint: In function ‘rygel_lms_database_real_init’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-database.vala:51:12: warning[-Wformat=]: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘guint64’ {aka ‘long unsigned int’}
# 51 | debug ("Got updated id %lld from LMS over dbus", update_id);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | |
# | guint64 {aka long unsigned int}
/usr/include/glib-2.0/glib/gmessages.h:370:32: note: in definition of macro ‘g_debug’
# 370 | __VA_ARGS__)
# | ^~~~~~~~~~~
# 49| debug ("Got db path %s from LMS over dbus", db_path);
# 50| update_id = lms_proxy.update_id;
# 51|-> debug ("Got updated id %lld from LMS over dbus", update_id);
# 52| lms_proxy.g_properties_changed.connect
# 53| (this.on_lms_properties_changed);
Error: CLANG_WARNING: [#def992]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/lms/rygel-lms-plugin.vala:25:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 23| using Rygel;
# 24|
# 25|-> public class Rygel.LMS.Plugin : Rygel.MediaServerPlugin {
# 26| public const string NAME = "LMS";
# 27|
Error: COMPILER_WARNING (CWE-704): [#def993]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-container.vala: scope_hint: In function ‘rygel_media_export_dvd_container_set_path’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-container.vala:29:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 29 | public string path { get; construct set; }
# | ^
# 27| public const string TRACK_PREFIX = "dvd-track";
# 28|
# 29|-> public string path { get; construct set; }
# 30|
# 31| private GUPnP.XMLDoc doc;
Error: COMPILER_WARNING (CWE-704): [#def994]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-container.vala: scope_hint: In function ‘rygel_media_export_dvd_container_real_constructed’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-container.vala:59:10: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 59 | var context = new Xml.XPath.Context (this.doc.get_doc ());
# | ^
# 57| this.doc = new GUPnP.XMLDoc ((owned) doc);
# 58|
# 59|-> var context = new Xml.XPath.Context (this.doc.get_doc ());
# 60| var xpo = context.eval ("/lsdvd/track");
# 61| if (xpo->type != Xml.XPath.ObjectType.NODESET) {
Error: COMPILER_WARNING (CWE-704): [#def995]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-container.vala: scope_hint: In function ‘rygel_media_export_dvd_container_real_find_object_co’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-container.vala:83:17: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 83 | var context = new Xml.XPath.Context (this.doc.get_doc ());
# | ^
# 81| var parts = id.split (":");
# 82| var track = int.parse (parts[2]);
# 83|-> var context = new Xml.XPath.Context (this.doc.get_doc ());
# 84| var xpo = context.eval ("/lsdvd/track");
# 85| if (!(xpo->type == Xml.XPath.ObjectType.NODESET &&
Error: CLANG_WARNING: [#def996]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-container.vala:118:2: warning[deadcode.DeadStores]: Value stored to '_tmp4__length1' is never read
# 116| var parts = this.id.split (":");
# 117|
# 118|-> parts[0] = "dvd-track";
# 119| parts += track.to_string ();
# 120|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def997]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-parser.vala: scope_hint: In function ‘rygel_media_export_dvd_parser_real_run_co’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-parser.vala:106:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-parser.vala: scope_hint: In function ‘rygel_media_export_dvd_parser_real_run_co’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-parser.vala:71:6: note: in expansion of macro ‘G_UNLIKELY’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-parser.vala:81:6: note: in expansion of macro ‘G_UNLIKELY’
# 104| var node = xpo->nodesetval->item (0);
# 105|
# 106|-> var it = node->children;
# 107| while (it != null) {
# 108| if (it->name == "length") {
Error: COMPILER_WARNING (CWE-681): [#def998]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-parser.vala: scope_hint: In function ‘rygel_media_export_dvd_parser_real_run_co’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-parser.vala:108:20: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 108 | if (it->name == "length") {
# | ^
# 106| var it = node->children;
# 107| while (it != null) {
# 108|-> if (it->name == "length") {
# 109| var duration = (int) double.parse (it->children->content);
# 110|
Error: COMPILER_WARNING (CWE-681): [#def999]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-parser.vala:109:21: warning[-Wpointer-sign]: pointer targets in assignment from ‘xmlChar *’ {aka ‘unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 109 | var duration = (int) double.parse (it->children->content);
# | ^
# 107| while (it != null) {
# 108| if (it->name == "length") {
# 109|-> var duration = (int) double.parse (it->children->content);
# 110|
# 111| this.serialized_info.insert (Serializer.DURATION,
Error: COMPILER_WARNING (CWE-681): [#def1000]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-parser.vala:114:21: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 114 | } else if (it->name == "width") {
# | ^
# 112| "i",
# 113| duration);
# 114|-> } else if (it->name == "width") {
# 115| var width = int.parse (it->children->content);
# 116| this.serialized_info.insert (Serializer.VIDEO_WIDTH,
Error: COMPILER_WARNING (CWE-681): [#def1001]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-parser.vala:115:22: warning[-Wpointer-sign]: pointer targets in assignment from ‘xmlChar *’ {aka ‘unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 115 | var width = int.parse (it->children->content);
# | ^
# 113| duration);
# 114| } else if (it->name == "width") {
# 115|-> var width = int.parse (it->children->content);
# 116| this.serialized_info.insert (Serializer.VIDEO_WIDTH,
# 117| "i",
Error: COMPILER_WARNING (CWE-681): [#def1002]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-parser.vala:119:22: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 119 | } else if (it->name == "height") {
# | ^
# 117| "i",
# 118| width);
# 119|-> } else if (it->name == "height") {
# 120| var height = int.parse (it->children->content);
# 121| this.serialized_info.insert (Serializer.VIDEO_HEIGHT,
Error: COMPILER_WARNING (CWE-681): [#def1003]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-parser.vala:120:23: warning[-Wpointer-sign]: pointer targets in assignment from ‘xmlChar *’ {aka ‘unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 120 | var height = int.parse (it->children->content);
# | ^
# 118| width);
# 119| } else if (it->name == "height") {
# 120|-> var height = int.parse (it->children->content);
# 121| this.serialized_info.insert (Serializer.VIDEO_HEIGHT,
# 122| "i",
Error: COMPILER_WARNING (CWE-681): [#def1004]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-parser.vala:124:23: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 124 | } else if (it->name == "format") {
# | ^
# 122| "i",
# 123| height);
# 124|-> } else if (it->name == "format") {
# 125| var dlna_profile = "MPEG_PS_" + it->children->content;
# 126| this.serialized_info.insert (Serializer.DLNA_PROFILE,
Error: COMPILER_WARNING (CWE-681): [#def1005]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-parser.vala:125:24: warning[-Wpointer-sign]: pointer targets in assignment from ‘xmlChar *’ {aka ‘unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 125 | var dlna_profile = "MPEG_PS_" + it->children->content;
# | ^
# 123| height);
# 124| } else if (it->name == "format") {
# 125|-> var dlna_profile = "MPEG_PS_" + it->children->content;
# 126| this.serialized_info.insert (Serializer.DLNA_PROFILE,
# 127| "s",
Error: COMPILER_WARNING (CWE-843): [#def1006]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-parser.vala: scope_hint: In function ‘rygel_media_export_dvd_parser_get_information_co’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-parser.vala:166:74: warning[-Wincompatible-pointer-types]: passing argument 2 of ‘g_subprocess_launcher_spawnv’ from incompatible pointer type
/usr/include/glib-2.0/gio/gio.h:156: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/mx-extract.p/rygel-media-export-dvd-parser.c:28: included_from: Included from here.
/usr/include/glib-2.0/gio/gsubprocesslauncher.h:54:97: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
# 164| };
# 165|
# 166|-> var process = launcher.spawnv (args);
# 167| yield process.wait_async ();
# 168|
Error: CLANG_WARNING: [#def1007]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-track.vala:25:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 23| using GUPnP;
# 24|
# 25|-> internal class Rygel.MediaExport.DVDTrack : VideoItem {
# 26| public new const string UPNP_CLASS = Rygel.VideoItem.UPNP_CLASS + ".dvdTrack";
# 27|
Error: COMPILER_WARNING (CWE-681): [#def1008]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-track.vala: scope_hint: In function ‘rygel_media_export_dvd_track_real_constructed’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-track.vala:68:12: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 68 | if (it->name == "length") {
# | ^
# 66| var it = node->children;
# 67| while (it != null) {
# 68|-> if (it->name == "length") {
# 69| this.duration = (int) double.parse (it->children->content);
# 70| } else if (it->name == "width") {
Error: COMPILER_WARNING (CWE-681): [#def1009]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-track.vala:69:13: warning[-Wpointer-sign]: pointer targets in assignment from ‘xmlChar *’ {aka ‘unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 69 | this.duration = (int) double.parse (it->children->content);
# | ^
# 67| while (it != null) {
# 68| if (it->name == "length") {
# 69|-> this.duration = (int) double.parse (it->children->content);
# 70| } else if (it->name == "width") {
# 71| this.width = int.parse (it->children->content);
Error: COMPILER_WARNING (CWE-681): [#def1010]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-track.vala:70:13: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 70 | } else if (it->name == "width") {
# | ^
# 68| if (it->name == "length") {
# 69| this.duration = (int) double.parse (it->children->content);
# 70|-> } else if (it->name == "width") {
# 71| this.width = int.parse (it->children->content);
# 72| } else if (it->name == "height") {
Error: COMPILER_WARNING (CWE-681): [#def1011]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-track.vala:71:14: warning[-Wpointer-sign]: pointer targets in assignment from ‘xmlChar *’ {aka ‘unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 71 | this.width = int.parse (it->children->content);
# | ^
# 69| this.duration = (int) double.parse (it->children->content);
# 70| } else if (it->name == "width") {
# 71|-> this.width = int.parse (it->children->content);
# 72| } else if (it->name == "height") {
# 73| this.height = int.parse (it->children->content);
Error: COMPILER_WARNING (CWE-681): [#def1012]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-track.vala:72:14: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 72 | } else if (it->name == "height") {
# | ^
# 70| } else if (it->name == "width") {
# 71| this.width = int.parse (it->children->content);
# 72|-> } else if (it->name == "height") {
# 73| this.height = int.parse (it->children->content);
# 74| } else if (it->name == "format") {
Error: COMPILER_WARNING (CWE-681): [#def1013]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-track.vala:73:15: warning[-Wpointer-sign]: pointer targets in assignment from ‘xmlChar *’ {aka ‘unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 73 | this.height = int.parse (it->children->content);
# | ^
# 71| this.width = int.parse (it->children->content);
# 72| } else if (it->name == "height") {
# 73|-> this.height = int.parse (it->children->content);
# 74| } else if (it->name == "format") {
# 75| this.dlna_profile += "_" + it->children->content;
Error: COMPILER_WARNING (CWE-681): [#def1014]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-track.vala:74:15: warning[-Wpointer-sign]: pointer targets in assignment from ‘const xmlChar *’ {aka ‘const unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 74 | } else if (it->name == "format") {
# | ^
# 72| } else if (it->name == "height") {
# 73| this.height = int.parse (it->children->content);
# 74|-> } else if (it->name == "format") {
# 75| this.dlna_profile += "_" + it->children->content;
# 76| }
Error: COMPILER_WARNING (CWE-681): [#def1015]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-track.vala:75:16: warning[-Wpointer-sign]: pointer targets in assignment from ‘xmlChar *’ {aka ‘unsigned char *’} to ‘const gchar *’ {aka ‘const char *’} differ in signedness
# 75 | this.dlna_profile += "_" + it->children->content;
# | ^
# 73| this.height = int.parse (it->children->content);
# 74| } else if (it->name == "format") {
# 75|-> this.dlna_profile += "_" + it->children->content;
# 76| }
# 77| // TODO: Japanese formats...
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1016]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-track.vala: scope_hint: In function ‘rygel_media_export_dvd_track_real_commit_custom_co’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-track.vala:106:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-dvd-track.vala: scope_hint: In function ‘rygel_media_export_dvd_track_real_commit_custom_co’
# 104| public override async void commit_custom (bool override_guarded)
# 105| throws Error {
# 106|-> if (this.node == null) {
# 107| yield base.commit_custom (override_guarded);
# 108| }
Error: CLANG_WARNING: [#def1017]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-extract.vala:116:2: warning[deadcode.DeadStores]: Value stored to 'bytes_written' is never read
# 114| static void send_extraction_done (File file, Variant v) throws Error {
# 115| var data = v.get_data_as_bytes ();
# 116|-> size_t bytes_written = 0;
# 117| var status = STATUS_LINE_TEMPLATE.printf (file.get_uri (),
# 118| data.get_size (),
Error: CLANG_WARNING: [#def1018]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-extract.vala:121:2: warning[deadcode.DeadStores]: Value stored to 'bytes_written' is never read
# 119| file.get_uri ());
# 120|
# 121|-> output_stream.write_all (status.data, out bytes_written);
# 122| output_stream.write_all (data.get_data (), out bytes_written);
# 123| }
Error: CLANG_WARNING: [#def1019]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-extract.vala:122:2: warning[deadcode.DeadStores]: Value stored to 'bytes_written' is never read
# 120|
# 121| output_stream.write_all (status.data, out bytes_written);
# 122|-> output_stream.write_all (data.get_data (), out bytes_written);
# 123| }
# 124|
Error: COMPILER_WARNING (CWE-704): [#def1020]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-extract.vala: scope_hint: In function ‘send_extraction_done’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-extract.vala:122:10: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 122 | output_stream.write_all (data.get_data (), out bytes_written);
# | ^
# 120|
# 121| output_stream.write_all (status.data, out bytes_written);
# 122|-> output_stream.write_all (data.get_data (), out bytes_written);
# 123| }
# 124|
Error: CLANG_WARNING: [#def1021]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-extract.vala:126:2: warning[deadcode.DeadStores]: Value stored to 'bytes_written' is never read
# 124|
# 125| static void send_skip (File file) {
# 126|-> size_t bytes_written = 0;
# 127| var status = SKIPPED_LINE_TEMPLATE.printf (file.get_uri ());
# 128|
Error: CLANG_WARNING: [#def1022]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-extract.vala:130:3: warning[deadcode.DeadStores]: Value stored to 'bytes_written' is never read
# 128|
# 129| try {
# 130|-> output_stream.write_all (status.data, out bytes_written);
# 131| } catch (Error error) {
# 132| warning (_("Failed to send error to parent: %s"), error.message);
Error: CLANG_WARNING: [#def1023]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-extract.vala:137:2: warning[deadcode.DeadStores]: Value stored to 'bytes_written' is never read
# 135|
# 136| static void send_error (File file, Error err) {
# 137|-> size_t bytes_written = 0;
# 138| var status = ERROR_LINE_TEMPLATE.printf (file.get_uri (),
# 139| err.code,
Error: CLANG_WARNING: [#def1024]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-extract.vala:142:3: warning[deadcode.DeadStores]: Value stored to 'bytes_written' is never read
# 140| err.message);
# 141| try {
# 142|-> output_stream.write_all (status.data, out bytes_written);
# 143| } catch (Error error) {
# 144| warning (_("Failed to send error to parent: %s"), error.message);
Error: COMPILER_WARNING (CWE-704): [#def1025]
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-extractor.vala: scope_hint: In function ‘rygel_media_export_extractor_strip_invalid_entities’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-extractor.vala:212:15: warning[-Wdiscarded-qualifiers]: passing argument 1 of ‘g_strchug’ discards ‘const’ qualifier from pointer target type
/usr/include/glib-2.0/glib/gstrfuncs.h:248:56: note: in definition of macro ‘g_strstrip’
/usr/include/glib-2.0/glib/gstrfuncs.h:243:55: note: expected ‘gchar *’ {aka ‘char *’} but argument is of type ‘const gchar *’ {aka ‘const char *’}
# 210| p = space_compress_regex.replace_literal (p, -1, 0, " ");
# 211|
# 212|-> p._strip ();
# 213|
# 214| return p;
Error: CLANG_WARNING: [#def1026]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-generic-extractor.vala:66:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 64|
# 65| var id = GenericExtractor.discoverer.discovered.connect (
# 66|-> (_info, _error) => {
# 67| info = _info;
# 68| error = _error;
Error: COMPILER_WARNING (CWE-704): [#def1027]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-generic-extractor.vala: scope_hint: In function ‘rygel_media_export_generic_extractor_real_run_co’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-generic-extractor.vala:107:19: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 105| // Guess UPnP profile
# 106| if (stream_info is DiscovererContainerInfo) {
# 107|-> stream_tags = ((DiscovererContainerInfo)stream_info).get_tags();
# 108| } else if (stream_info is DiscovererStreamInfo) {
# 109| stream_tags = ((DiscovererStreamInfo)stream_info).get_tags();
Error: COMPILER_WARNING (CWE-704): [#def1028]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-generic-extractor.vala:109:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 107| stream_tags = ((DiscovererContainerInfo)stream_info).get_tags();
# 108| } else if (stream_info is DiscovererStreamInfo) {
# 109|-> stream_tags = ((DiscovererStreamInfo)stream_info).get_tags();
# 110| }
# 111|
Error: COMPILER_WARNING (CWE-704): [#def1029]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-generic-extractor.vala:173:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 171| // FIXME: Should be covered by the "is DiscovererStreamInfo"
# 172| // above
# 173|-> this.get_title_and_date (ainfo.get_tags ());
# 174| }
# 175|
Error: COMPILER_WARNING (CWE-704): [#def1030]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-generic-extractor.vala:180:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 178| this.serialized_info.insert (Serializer.AUDIO_RATE, "i",
# 179| (int) ainfo.get_sample_rate ());
# 180|-> var atags = ainfo.get_tags ();
# 181| if (atags != null) {
# 182| string artist = null;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1031]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-harvester.vala: scope_hint: In function ‘rygel_media_export_harvester_on_file_harvested’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-harvester.vala:157:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-harvester.vala:155:2: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gobject.h:26: included_from: Included from here.
/usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here.
/usr/include/glib-2.0/gobject/gtype.h:2672:60: note: in definition of macro ‘_G_TYPE_CIT’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/rygel-media-export.h:113:53: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/rygel-media-export.h:113:88: note: in expansion of macro ‘RYGEL_MEDIA_EXPORT_TYPE_HARVESTING_TASK’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-harvester.vala:156:27: note: in expansion of macro ‘RYGEL_MEDIA_EXPORT_IS_HARVESTING_TASK’
# 155| private void on_file_harvested (StateMachine state_machine) {
# 156| var task = state_machine as HarvestingTask;
# 157|-> var file = task.origin;
# 158| message (_("“%s” harvested"), file.get_uri ());
# 159|
Error: CLANG_WARNING: [#def1032]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-harvesting-task.vala:37:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 35| }
# 36|
# 37|-> public class Rygel.MediaExport.HarvestingTask : Rygel.StateMachine,
# 38| GLib.Object {
# 39| public File origin;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1033]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-harvesting-task.vala: scope_hint: In function ‘rygel_media_export_harvesting_task_process_children’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-harvesting-task.vala:246:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-harvesting-task.vala:37:2: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib.h:82: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-harvesting-task.vala:37:11: note: in expansion of macro ‘g_slice_new0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-harvesting-task.vala:266:9: note: in expansion of macro ‘G_UNLIKELY’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-harvesting-task.vala:238:2: note: in expansion of macro ‘g_return_val_if_fail’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-harvesting-task.vala: scope_hint: In function ‘rygel_media_export_harvesting_task_process_children’
# 244|
# 245| foreach (var info in list) {
# 246|-> var file = container.file.get_child (info.get_name ());
# 247|
# 248| this.process_file (file, info, container);
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1034]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-harvesting-task.vala: scope_hint: In function ‘rygel_media_export_harvesting_task_cleanup_database’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-harvesting-task.vala:287:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-harvesting-task.vala:37:2: note: in expansion of macro ‘g_return_if_fail’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-harvesting-task.vala:37:11: note: in expansion of macro ‘g_slice_new0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-harvesting-task.vala:258:7: note: in expansion of macro ‘G_UNLIKELY’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-harvesting-task.vala:257:6: note: in expansion of macro ‘G_UNLIKELY’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-harvesting-task.vala:282:2: note: in expansion of macro ‘g_return_if_fail’
# 285| // delete all children which are not in filesystem anymore
# 286| try {
# 287|-> foreach (var child in container.children) {
# 288| this.cache.remove_by_id (child);
# 289| }
Error: CLANG_WARNING: [#def1035]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:98:2: warning[deadcode.DeadStores]: Value stored to '_values_size_' is never read
# 96| // Public functions
# 97| public void remove_by_id (string id) throws DatabaseError {
# 98|-> GLib.Value[] values = { id };
# 99| this.db.exec (this.sql.make (SQLString.DELETE), values);
# 100| }
Error: CLANG_WARNING: [#def1036]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:151:2: warning[deadcode.DeadStores]: Value stored to '_values_size_' is never read
# 149| */
# 150| public MediaObject? get_object (string object_id) throws DatabaseError {
# 151|-> GLib.Value[] values = { object_id };
# 152| MediaObject parent = null;
# 153|
Error: CLANG_WARNING: [#def1037]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:181:2: warning[deadcode.DeadStores]: Value stored to '_values_size_' is never read
# 179|
# 180| public int get_child_count (string container_id) throws DatabaseError {
# 181|-> GLib.Value[] values = { container_id };
# 182|
# 183| return this.query_value (SQLString.CHILD_COUNT, values);
Error: CLANG_WARNING: [#def1038]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:201:2: warning[deadcode.DeadStores]: Value stored to '_values_size_' is never read
# 199| out uint32 container_update_id,
# 200| out uint32 total_deleted_child_count) {
# 201|-> GLib.Value[] values = { id };
# 202|
# 203| object_update_id = 0;
Error: CLANG_WARNING: [#def1039]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:227:2: warning[deadcode.DeadStores]: Value stored to '_values_size_' is never read
# 225| out string mime_type) throws DatabaseError {
# 226| var uri = file.get_uri ();
# 227|-> GLib.Value[] values = { uri };
# 228| mime_type = null;
# 229|
Error: CLANG_WARNING: [#def1040]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:260:2: warning[deadcode.DeadStores]: Value stored to '_values_size_' is never read
# 258| MediaObjects children = new MediaObjects ();
# 259|
# 260|-> GLib.Value[] values = { container.id,
# 261| offset,
# 262| max_count };
Error: COMPILER_WARNING (CWE-843): [#def1041]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala: scope_hint: In function ‘rygel_media_export_media_cache_get_object_count_by_filter’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:350:10: warning[-Wincompatible-pointer-types]: assignment to ‘void **’ from incompatible pointer type ‘gchar *’ {aka ‘char *’}
# 348| pattern = this.sql.make (string_id);
# 349|
# 350|-> return this.db.query_value (pattern.printf (filter), args.data);
# 351| }
# 352|
Error: COMPILER_WARNING (CWE-843): [#def1042]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:350:65: warning[-Wincompatible-pointer-types]: passing argument 3 of ‘rygel_database_database_query_value’ from incompatible pointer type
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/rygel-media-export.h:13: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-db/rygel-db.h:242:51: note: expected ‘GValue *’ {aka ‘struct _GValue *’} but argument is of type ‘void **’
# 348| pattern = this.sql.make (string_id);
# 349|
# 350|-> return this.db.query_value (pattern.printf (filter), args.data);
# 351| }
# 352|
Error: COMPILER_WARNING (CWE-843): [#def1043]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala: scope_hint: In function ‘rygel_media_export_media_cache_get_objects_by_filter’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:383:10: warning[-Wincompatible-pointer-types]: assignment to ‘void **’ from incompatible pointer type ‘gchar *’ {aka ‘char *’}
# 381|
# 382| var sort_order = MediaCache.translate_sort_criteria (sort_criteria);
# 383|-> var cursor = this.db.exec_cursor (sql.printf (filter, sort_order),
# 384| args.data);
# 385| foreach (var statement in cursor) {
Error: COMPILER_WARNING (CWE-843): [#def1044]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:383:67: warning[-Wincompatible-pointer-types]: passing argument 3 of ‘rygel_database_database_exec_cursor’ from incompatible pointer type
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-db/rygel-db.h:232:67: note: expected ‘GValue *’ {aka ‘struct _GValue *’} but argument is of type ‘void **’
# 381|
# 382| var sort_order = MediaCache.translate_sort_criteria (sort_criteria);
# 383|-> var cursor = this.db.exec_cursor (sql.printf (filter, sort_order),
# 384| args.data);
# 385| foreach (var statement in cursor) {
Error: CLANG_WARNING: [#def1045]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:427:2: warning[deadcode.DeadStores]: Value stored to '_values_size_' is never read
# 425| throws DatabaseError {
# 426| ArrayList<string> children = new ArrayList<string> ();
# 427|-> GLib.Value[] values = { container_id };
# 428|
# 429| var cursor = this.exec_cursor (SQLString.CHILD_IDS, values);
Error: COMPILER_WARNING (CWE-843): [#def1046]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala: scope_hint: In function ‘rygel_media_export_media_cache_get_meta_data_column_by_filter’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:481:10: warning[-Wincompatible-pointer-types]: assignment to ‘void **’ from incompatible pointer type ‘gchar *’ {aka ‘char *’}
# 479| sql_sort_order);
# 480|
# 481|-> var cursor = this.db.exec_cursor (builder.str, args.data);
# 482| foreach (var statement in cursor) {
# 483| data.add (statement.column_text (0));
Error: COMPILER_WARNING (CWE-843): [#def1047]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:481:67: warning[-Wincompatible-pointer-types]: passing argument 3 of ‘rygel_database_database_exec_cursor’ from incompatible pointer type
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-db/rygel-db.h:232:67: note: expected ‘GValue *’ {aka ‘struct _GValue *’} but argument is of type ‘void **’
# 479| sql_sort_order);
# 480|
# 481|-> var cursor = this.db.exec_cursor (builder.str, args.data);
# 482| foreach (var statement in cursor) {
# 483| data.add (statement.column_text (0));
Error: CLANG_WARNING: [#def1048]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:534:3: warning[deadcode.DeadStores]: Value stored to '_args_size_' is never read
# 532| public void save_reset_token (string token) {
# 533| try {
# 534|-> GLib.Value[] args = { token };
# 535|
# 536| this.db.exec ("UPDATE schema_info SET reset_token = ?", args);
Error: CLANG_WARNING: [#def1049]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:557:3: warning[deadcode.DeadStores]: Value stored to '_values_size_' is never read
# 555|
# 556| try {
# 557|-> GLib.Value[] values = { guarded_val,
# 558| object.id };
# 559|
Error: CLANG_WARNING: [#def1050]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:593:3: warning[deadcode.DeadStores]: Value stored to '_values_size_' is never read
# 591| public void ignore (File file) {
# 592| try {
# 593|-> GLib.Value[] values = { file.get_uri (),
# 594| new GLib.DateTime.now_utc ().to_unix () };
# 595| this.db.exec (this.sql.make (SQLString.ADD_TO_IGNORELIST),
Error: CLANG_WARNING: [#def1051]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:606:3: warning[deadcode.DeadStores]: Value stored to '_values_size_' is never read
# 604| public bool is_ignored (File file) {
# 605| try {
# 606|-> GLib.Value[] values = { file.get_uri () };
# 607|
# 608| return this.query_value (SQLString.CHECK_IGNORELIST,
Error: CLANG_WARNING: [#def1052]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:622:3: warning[deadcode.DeadStores]: Value stored to '_id_value_size_' is never read
# 620| private bool is_object_guarded (string id) {
# 621| try {
# 622|-> GLib.Value[] id_value = { id };
# 623|
# 624| return this.query_value (SQLString.IS_GUARDED,
Error: CLANG_WARNING: [#def1053]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:657:2: warning[deadcode.DeadStores]: Value stored to 'old_version' is never read
# 655| private void open_db (string name) throws Error {
# 656| this.db = new Database.Database (name);
# 657|-> int old_version = -1;
# 658| int current_version = int.parse (SQLFactory.SCHEMA_VERSION);
# 659|
Error: CLANG_WARNING: [#def1054]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:706:2: warning[deadcode.DeadStores]: Value stored to '_values_size_' is never read
# 704| private void save_container_metadata (MediaContainer container) throws Error {
# 705| // Fill common properties
# 706|-> GLib.Value[] values = { 0,
# 707| "inode/directory",
# 708| -1,
Error: CLANG_WARNING: [#def1055]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:733:2: warning[deadcode.DeadStores]: Value stored to '_values_size_' is never read
# 731| private void save_item_metadata (Rygel.MediaFileItem item) throws Error {
# 732| // Fill common properties
# 733|-> GLib.Value[] values = { item.size,
# 734| item.mime_type,
# 735| -1,
Error: CLANG_WARNING: [#def1056]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:756:3: warning[deadcode.DeadStores]: Value stored to '_tmp36__length1' is never read
# 754| if (item is AudioItem) {
# 755| var audio_item = item as AudioItem;
# 756|-> values[14] = audio_item.duration;
# 757| values[8] = audio_item.bitrate;
# 758| values[9] = audio_item.sample_freq;
Error: CLANG_WARNING: [#def1057]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:757:3: warning[deadcode.DeadStores]: Value stored to '_tmp41__length1' is never read
# 755| var audio_item = item as AudioItem;
# 756| values[14] = audio_item.duration;
# 757|-> values[8] = audio_item.bitrate;
# 758| values[9] = audio_item.sample_freq;
# 759| values[10] = audio_item.bits_per_sample;
Error: CLANG_WARNING: [#def1058]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:758:3: warning[deadcode.DeadStores]: Value stored to '_tmp46__length1' is never read
# 756| values[14] = audio_item.duration;
# 757| values[8] = audio_item.bitrate;
# 758|-> values[9] = audio_item.sample_freq;
# 759| values[10] = audio_item.bits_per_sample;
# 760| values[11] = audio_item.channels;
Error: CLANG_WARNING: [#def1059]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:759:3: warning[deadcode.DeadStores]: Value stored to '_tmp51__length1' is never read
# 757| values[8] = audio_item.bitrate;
# 758| values[9] = audio_item.sample_freq;
# 759|-> values[10] = audio_item.bits_per_sample;
# 760| values[11] = audio_item.channels;
# 761| if (item is MusicItem) {
Error: CLANG_WARNING: [#def1060]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:760:3: warning[deadcode.DeadStores]: Value stored to '_tmp56__length1' is never read
# 758| values[9] = audio_item.sample_freq;
# 759| values[10] = audio_item.bits_per_sample;
# 760|-> values[11] = audio_item.channels;
# 761| if (item is MusicItem) {
# 762| var music_item = item as MusicItem;
Error: CLANG_WARNING: [#def1061]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:763:4: warning[deadcode.DeadStores]: Value stored to '_tmp62__length1' is never read
# 761| if (item is MusicItem) {
# 762| var music_item = item as MusicItem;
# 763|-> values[5] = music_item.artist;
# 764| values[6] = music_item.album;
# 765| values[17] = music_item.genre;
Error: CLANG_WARNING: [#def1062]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:764:4: warning[deadcode.DeadStores]: Value stored to '_tmp67__length1' is never read
# 762| var music_item = item as MusicItem;
# 763| values[5] = music_item.artist;
# 764|-> values[6] = music_item.album;
# 765| values[17] = music_item.genre;
# 766| values[12] = music_item.track_number;
Error: CLANG_WARNING: [#def1063]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:765:4: warning[deadcode.DeadStores]: Value stored to '_tmp72__length1' is never read
# 763| values[5] = music_item.artist;
# 764| values[6] = music_item.album;
# 765|-> values[17] = music_item.genre;
# 766| values[12] = music_item.track_number;
# 767| values[18] = music_item.disc;
Error: CLANG_WARNING: [#def1064]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:766:4: warning[deadcode.DeadStores]: Value stored to '_tmp77__length1' is never read
# 764| values[6] = music_item.album;
# 765| values[17] = music_item.genre;
# 766|-> values[12] = music_item.track_number;
# 767| values[18] = music_item.disc;
# 768| }
Error: CLANG_WARNING: [#def1065]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:767:4: warning[deadcode.DeadStores]: Value stored to '_tmp82__length1' is never read
# 765| values[17] = music_item.genre;
# 766| values[12] = music_item.track_number;
# 767|-> values[18] = music_item.disc;
# 768| }
# 769| }
Error: CLANG_WARNING: [#def1066]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:773:3: warning[deadcode.DeadStores]: Value stored to '_tmp86__length1' is never read
# 771| if (item is VisualItem) {
# 772| var visual_item = item as VisualItem;
# 773|-> values[2] = visual_item.width;
# 774| values[3] = visual_item.height;
# 775| values[13] = visual_item.color_depth;
Error: CLANG_WARNING: [#def1067]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:774:3: warning[deadcode.DeadStores]: Value stored to '_tmp91__length1' is never read
# 772| var visual_item = item as VisualItem;
# 773| values[2] = visual_item.width;
# 774|-> values[3] = visual_item.height;
# 775| values[13] = visual_item.color_depth;
# 776| if (item is VideoItem) {
Error: CLANG_WARNING: [#def1068]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:775:3: warning[deadcode.DeadStores]: Value stored to '_tmp96__length1' is never read
# 773| values[2] = visual_item.width;
# 774| values[3] = visual_item.height;
# 775|-> values[13] = visual_item.color_depth;
# 776| if (item is VideoItem) {
# 777| var video_item = item as VideoItem;
Error: CLANG_WARNING: [#def1069]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:778:4: warning[deadcode.DeadStores]: Value stored to '_tmp102__length1' is never read
# 776| if (item is VideoItem) {
# 777| var video_item = item as VideoItem;
# 778|-> values[5] = video_item.author;
# 779| }
# 780| }
Error: CLANG_WARNING: [#def1070]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:785:3: warning[deadcode.DeadStores]: Value stored to '_tmp108__length1' is never read
# 783| var playlist_item = item as PlaylistItem;
# 784|
# 785|-> values[5] = playlist_item.creator;
# 786| }
# 787|
Error: CLANG_WARNING: [#def1071]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:805:2: warning[deadcode.DeadStores]: Value stored to '_values_size_' is never read
# 803| }
# 804|
# 805|-> GLib.Value[] values = { type,
# 806| parent,
# 807| object.modified,
Error: CLANG_WARNING: [#def1072]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:816:3: warning[deadcode.DeadStores]: Value stored to '_tmp27__length1' is never read
# 814| if (object is MediaContainer) {
# 815| var container = object as MediaContainer;
# 816|-> values[6] = container.total_deleted_child_count;
# 817| values[7] = container.update_id;
# 818| }
Error: CLANG_WARNING: [#def1073]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:817:3: warning[deadcode.DeadStores]: Value stored to '_tmp30__length1' is never read
# 815| var container = object as MediaContainer;
# 816| values[6] = container.total_deleted_child_count;
# 817|-> values[7] = container.update_id;
# 818| }
# 819|
Error: CLANG_WARNING: [#def1074]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:838:2: warning[deadcode.DeadStores]: Value stored to '_values_size_' is never read
# 836| }
# 837|
# 838|-> GLib.Value[] values = { object.id,
# 839| object.title,
# 840| type,
Error: CLANG_WARNING: [#def1075]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:852:3: warning[deadcode.DeadStores]: Value stored to '_tmp36__length1' is never read
# 850| if (object is MediaContainer) {
# 851| var container = object as MediaContainer;
# 852|-> values[7] = container.total_deleted_child_count;
# 853| values[8] = container.update_id;
# 854| }
Error: CLANG_WARNING: [#def1076]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:853:3: warning[deadcode.DeadStores]: Value stored to '_tmp39__length1' is never read
# 851| var container = object as MediaContainer;
# 852| values[7] = container.total_deleted_child_count;
# 853|-> values[8] = container.update_id;
# 854| }
# 855|
Error: CLANG_WARNING: [#def1077]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:1216:2: warning[deadcode.DeadStores]: Value stored to '_fields_size_' is never read
# 1214| var builder = new StringBuilder("ORDER BY ");
# 1215| var column_builder = new StringBuilder ();
# 1216|-> var fields = sort_criteria.split (",");
# 1217| column_count = fields.length;
# 1218| foreach (unowned string field in fields) {
Error: CLANG_WARNING: [#def1078]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:1217:2: warning[deadcode.DeadStores]: Value stored to '_tmp4_' is never read
# 1215| var column_builder = new StringBuilder ();
# 1216| var fields = sort_criteria.split (",");
# 1217|-> column_count = fields.length;
# 1218| foreach (unowned string field in fields) {
# 1219| try {
Error: CLANG_WARNING: [#def1079]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-media-cache.vala:1224:6: warning[deadcode.DeadStores]: Value stored to '_tmp16__length1' is never read
# 1222| out collate,
# 1223| true);
# 1224|-> if (field != fields[0]) {
# 1225| builder.append (",");
# 1226| }
Error: CLANG_WARNING: [#def1080]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-metadata-extractor.vala:42:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 40| * metadata_available for each key/value pair extracted.
# 41| */
# 42|-> public class Rygel.MediaExport.MetadataExtractor: GLib.Object {
# 43| private static VariantType SERIALIZED_DATA_TYPE;
# 44|
Error: COMPILER_WARNING (CWE-843): [#def1081]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-metadata-extractor.vala: scope_hint: In function ‘rygel_media_export_metadata_extractor_run_co’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-metadata-extractor.vala:146:76: warning[-Wincompatible-pointer-types]: passing argument 2 of ‘g_subprocess_launcher_spawnv’ from incompatible pointer type
/usr/include/glib-2.0/gio/gio.h:156: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp-acl.h:14: included_from: Included from here.
/usr/include/glib-2.0/gio/gsubprocesslauncher.h:54:97: note: expected ‘const gchar * const*’ {aka ‘const char * const*’} but argument is of type ‘gchar **’ {aka ‘char **’}
# 144| }
# 145|
# 146|-> var subprocess = launcher.spawnv (MX_EXTRACT_ARGV);
# 147| try {
# 148| yield subprocess.wait_check_async ();
Error: CLANG_WARNING: [#def1082]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-metadata-extractor.vala:191:5: warning[deadcode.DeadStores]: Value stored to '_parts_size_' is never read
# 189| }
# 190|
# 191|-> var parts = str.split ("|");
# 192| if (parts.length != 4) {
# 193| warning (_("Received ill-formed response string %s from child…"),
Error: CLANG_WARNING: [#def1083]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-metadata-extractor.vala:192:5: warning[deadcode.DeadStores]: Value stored to '_tmp14_' is never read
# 190|
# 191| var parts = str.split ("|");
# 192|-> if (parts.length != 4) {
# 193| warning (_("Received ill-formed response string %s from child…"),
# 194| str);
Error: CLANG_WARNING: [#def1084]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-metadata-extractor.vala:199:5: warning[deadcode.DeadStores]: Value stored to '_tmp16__length1' is never read
# 197| }
# 198|
# 199|-> if (parts[0] == "ERROR") {
# 200| this.error (File.new_for_uri (parts[1]),
# 201| new MetadataExtractorError.GENERAL (parts[3]));
Error: CLANG_WARNING: [#def1085]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-metadata-extractor.vala:200:6: warning[deadcode.DeadStores]: Value stored to '_tmp18__length1' is never read
# 198|
# 199| if (parts[0] == "ERROR") {
# 200|-> this.error (File.new_for_uri (parts[1]),
# 201| new MetadataExtractorError.GENERAL (parts[3]));
# 202|
Error: CLANG_WARNING: [#def1086]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-metadata-extractor.vala:200:6: warning[deadcode.DeadStores]: Value stored to '_tmp22__length1' is never read
# 198|
# 199| if (parts[0] == "ERROR") {
# 200|-> this.error (File.new_for_uri (parts[1]),
# 201| new MetadataExtractorError.GENERAL (parts[3]));
# 202|
Error: CLANG_WARNING: [#def1087]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-metadata-extractor.vala:206:5: warning[deadcode.DeadStores]: Value stored to '_tmp26__length1' is never read
# 204| }
# 205|
# 206|-> var uri = parts[1];
# 207| var length = uint64.parse (parts[2]);
# 208|
Error: CLANG_WARNING: [#def1088]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-metadata-extractor.vala:207:5: warning[deadcode.DeadStores]: Value stored to '_tmp29__length1' is never read
# 205|
# 206| var uri = parts[1];
# 207|-> var length = uint64.parse (parts[2]);
# 208|
# 209| if (parts[0] == "SKIP") {
Error: CLANG_WARNING: [#def1089]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-metadata-extractor.vala:209:5: warning[deadcode.DeadStores]: Value stored to '_tmp31__length1' is never read
# 207| var length = uint64.parse (parts[2]);
# 208|
# 209|-> if (parts[0] == "SKIP") {
# 210| debug ("Extractor binary told us to skip %s",
# 211| uri);
Error: CLANG_WARNING: [#def1090]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-metadata-extractor.vala:218:5: warning[deadcode.DeadStores]: Value stored to '_buf_size_' is never read
# 216|
# 217| debug ("Found serialized data for uri %s", uri);
# 218|-> var buf = new uint8[length];
# 219| size_t bytes;
# 220| this.output_stream.read_all (buf,
Error: CLANG_WARNING: [#def1091]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-music-item.vala:27:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 25| * and metadata extraction.
# 26| */
# 27|-> internal class Rygel.MediaExport.MusicItem : Rygel.MusicItem,
# 28| Rygel.UpdatableObject,
# 29| Rygel.MediaExport.UpdatableObject,
Error: COMPILER_WARNING (CWE-704): [#def1092]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-node-query-container.vala: scope_hint: In function ‘rygel_media_export_node_query_container_set_template’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-node-query-container.vala:22:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 22 | public string template { private get; construct; }
# | ^
# 20|
# 21| internal class Rygel.MediaExport.NodeQueryContainer : QueryContainer {
# 22|-> public string template { private get; construct; }
# 23| public string attribute { private get; construct; }
# 24|
Error: COMPILER_WARNING (CWE-704): [#def1093]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-node-query-container.vala: scope_hint: In function ‘rygel_media_export_node_query_container_set_attribute’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-node-query-container.vala:23:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 23 | public string attribute { private get; construct; }
# | ^
# 21| internal class Rygel.MediaExport.NodeQueryContainer : QueryContainer {
# 22| public string template { private get; construct; }
# 23|-> public string attribute { private get; construct; }
# 24|
# 25| public NodeQueryContainer (SearchExpression expression,
Error: COMPILER_WARNING (CWE-843): [#def1094]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-playlist-extractor.vala: scope_hint: In function ‘rygel_media_export_playlist_extractor_real_run_co’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-playlist-extractor.vala:13:79: warning[-Wincompatible-pointer-types]: passing argument 3 of ‘g_file_load_contents_finish’ from incompatible pointer type
# 13 | if (!yield file.load_contents_async (null, out contents, null)) {
# | ^
# | |
# | guint8 ** {aka unsigned char **}
/usr/include/glib-2.0/gio/gio.h:81: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/mx-extract.p/rygel-media-export-playlist-extractor.c:5: included_from: Included from here.
/usr/include/glib-2.0/gio/gfile.h:1276:71: note: expected ‘char **’ but argument is of type ‘guint8 **’ {aka ‘unsigned char **’}
# 1276 | char **contents,
# | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
# 11| uint8[] contents;
# 12|
# 13|-> if (!yield file.load_contents_async (null, out contents, null)) {
# 14| throw new ExtractorError.INVALID ("Failed to read file");
# 15| }
Error: CLANG_WARNING: [#def1095]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-plugin.vala:44:2: warning[deadcode.DeadStores]: Value stored to '_data1_' is never read
# 42| }
# 43|
# 44|-> loader.plugin_available.connect ((new_plugin) => {
# 45| on_plugin_available (new_plugin, plugin);
# 46| });
Error: CLANG_WARNING: [#def1096]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-query-container-factory.vala:197:2: warning[deadcode.DeadStores]: Value stored to '_args_size_' is never read
# 195| out string upnp_class,
# 196| ref string name) {
# 197|-> var args = description.split (",");
# 198| var expression = null as SearchExpression;
# 199| pattern = null;
Error: CLANG_WARNING: [#def1097]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-query-container-factory.vala:204:3: warning[deadcode.DeadStores]: Value stored to '_tmp4_' is never read
# 202|
# 203| int i = 0;
# 204|-> while (i < args.length) {
# 205| string previous_attribute = attribute;
# 206|
Error: CLANG_WARNING: [#def1098]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-query-container-factory.vala:207:3: warning[deadcode.DeadStores]: Value stored to '_tmp7__length1' is never read
# 205| string previous_attribute = attribute;
# 206|
# 207|-> attribute = args[i].replace (QueryContainer.PREFIX, "");
# 208| attribute = Uri.unescape_string (attribute);
# 209|
Error: CLANG_WARNING: [#def1099]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-query-container-factory.vala:210:3: warning[deadcode.DeadStores]: Value stored to '_tmp12__length1' is never read
# 208| attribute = Uri.unescape_string (attribute);
# 209|
# 210|-> if (args[i + 1] != "?") {
# 211| QueryContainerFactory.update_search_expression (ref expression,
# 212| args[i],
Error: CLANG_WARNING: [#def1100]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-query-container-factory.vala:211:4: warning[deadcode.DeadStores]: Value stored to '_tmp14__length1' is never read
# 209|
# 210| if (args[i + 1] != "?") {
# 211|-> QueryContainerFactory.update_search_expression (ref expression,
# 212| args[i],
# 213| args[i + 1]);
Error: CLANG_WARNING: [#def1101]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-query-container-factory.vala:211:4: warning[deadcode.DeadStores]: Value stored to '_tmp16__length1' is never read
# 209|
# 210| if (args[i + 1] != "?") {
# 211|-> QueryContainerFactory.update_search_expression (ref expression,
# 212| args[i],
# 213| args[i + 1]);
Error: CLANG_WARNING: [#def1102]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-query-container-factory.vala:216:4: warning[deadcode.DeadStores]: Value stored to '_tmp18_' is never read
# 214|
# 215| // We're on the end of the list, map UPnP class
# 216|-> if (i + 2 == args.length) {
# 217| upnp_class = QueryContainerFactory.map_upnp_class
# 218| (attribute);
Error: CLANG_WARNING: [#def1103]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-query-container-factory.vala:220:6: warning[deadcode.DeadStores]: Value stored to '_tmp21__length1' is never read
# 218| (attribute);
# 219| if (name == "") {
# 220|-> name = Uri.unescape_string (args[i + 1]);
# 221| }
# 222| }
Error: CLANG_WARNING: [#def1104]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-query-container-factory.vala:224:4: warning[deadcode.DeadStores]: Value stored to '_tmp24__length1' is never read
# 222| }
# 223| } else {
# 224|-> args[i + 1] = "%s";
# 225| pattern = string.joinv (",", args);
# 226|
Error: CLANG_WARNING: [#def1105]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-query-container-factory.vala:233:5: warning[deadcode.DeadStores]: Value stored to '_tmp31__length1' is never read
# 231|
# 232| if (name == "" && i > 0) {
# 233|-> name = Uri.unescape_string (args[i - 1]);
# 234| }
# 235|
Error: CLANG_WARNING: [#def1106]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-recursive-file-monitor.vala:24:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 22| using Gee;
# 23|
# 24|-> public class Rygel.MediaExport.RecursiveFileMonitor : Object {
# 25| private Cancellable cancellable;
# 26| HashMap<File, FileMonitor> monitors;
Error: COMPILER_WARNING (CWE-704): [#def1107]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-root-container.vala: scope_hint: In function ‘rygel_media_export_root_container_add_default_virtual_folders’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-root-container.vala:605:119: warning[-Wdiscarded-qualifiers]: passing argument 4 of ‘rygel_media_export_root_container_add_virtual_containers_for_class’ discards ‘const’ qualifier from pointer target type
# 605 | this.add_virtual_containers_for_class (_("Music"),
# | ^
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-root-container.c:371:108: note: expected ‘RygelMediaExportFolderDefinition *’ {aka ‘struct _RygelMediaExportFolderDefinition *’} but argument is of type ‘const RygelMediaExportFolderDefinition *’ {aka ‘const struct _RygelMediaExportFolderDefinition *’}
# 371 | RygelMediaExportFolderDefinition* definitions,
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
# 603|
# 604| try {
# 605|-> this.add_virtual_containers_for_class (_("Music"),
# 606| Rygel.MusicItem.UPNP_CLASS,
# 607| VIRTUAL_FOLDERS_MUSIC);
Error: COMPILER_WARNING (CWE-704): [#def1108]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-root-container.vala: scope_hint: In function ‘rygel_media_export_root_container_add_virtual_containers_for_class’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-root-container.vala:678:25: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 678 | foreach (var definition in VIRTUAL_FOLDERS_DEFAULT) {
# | ^
# 676|
# 677| // Add a child QueryContainer for each of the default definitions.
# 678|-> foreach (var definition in VIRTUAL_FOLDERS_DEFAULT) {
# 679| this.add_folder_definition (container, item_class, definition);
# 680| }
Error: CLANG_WARNING: [#def1109]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-trackable-db-container.vala:27:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 25| * A DB container that is trackable.
# 26| */
# 27|-> public class Rygel.MediaExport.TrackableDbContainer : DBContainer,
# 28| TrackableContainer {
# 29| public TrackableDbContainer (string id, string title) {
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1110]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-video-item.vala: scope_hint: In function ‘rygel_media_export_video_item_commit_custom’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-video-item.vala:23:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘self’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-video-item.vala: scope_hint: In function ‘rygel_media_export_video_item_commit_custom’
# 21| */
# 22|
# 23|-> internal class Rygel.MediaExport.VideoItem : Rygel.VideoItem,
# 24| Rygel.UpdatableObject,
# 25| Rygel.MediaExport.UpdatableObject,
Error: CLANG_WARNING: [#def1111]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-writable-db-container.vala:31:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 29| * served again subsequently.
# 30| */
# 31|-> internal class Rygel.MediaExport.WritableDbContainer : TrackableDbContainer,
# 32| Rygel.WritableContainer {
# 33| public ArrayList<string> create_classes { get; set; }
Error: COMPILER_WARNING: [#def1112]
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp-acl.h:12: included_from: Included from here.
/usr/include/gupnp-1.6/libgupnp/gupnp.h:9: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/librygel-core/rygel-core.h:6: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/rygel-media-export.h:6: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/media-export/librygel-media-export.so.p/rygel-media-export-writable-db-container.c:26: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-writable-db-container.vala: scope_hint: In function ‘rygel_media_export_writable_db_container_real_remove_item_co’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-writable-db-container.vala:120:17: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘gchar *’ {aka ‘char *’}
# 120 | warning (_("Could not find object %d in cache"), id);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmessages.h:364:32: note: in definition of macro ‘g_warning’
# 364 | __VA_ARGS__)
# | ^~~~~~~~~~~
rygel-0.42.6-build/rygel-0.42.6/src/plugins/media-export/rygel-media-export-writable-db-container.vala:120:14: note: in expansion of macro ‘_’
# 120 | warning (_("Could not find object %d in cache"), id);
# | ^
# 118| yield this.remove_child_tracked (object);
# 119| } else {
# 120|-> warning (_("Could not find object %d in cache"), id);
# 121| }
# 122| }
Error: CLANG_WARNING: [#def1113]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/mpris/rygel-mpris-player.vala:95:2: warning[deadcode.DeadStores]: Value stored to '_tmp0__length1' is never read
# 93| public double minimum_rate {
# 94| get {
# 95|-> return this.play_speed_to_double (_allowed_playback_speeds[0]);
# 96| }
# 97| }
Error: CLANG_WARNING: [#def1114]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/mpris/rygel-mpris-player.vala:101:2: warning[deadcode.DeadStores]: Value stored to '_tmp0_' is never read
# 99| public double maximum_rate {
# 100| get {
# 101|-> int i = _allowed_playback_speeds.length;
# 102|
# 103| assert (i > 0);
Error: CLANG_WARNING: [#def1115]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/mpris/rygel-mpris-player.vala:105:2: warning[deadcode.DeadStores]: Value stored to '_tmp1__length1' is never read
# 103| assert (i > 0);
# 104|
# 105|-> return this.play_speed_to_double (_allowed_playback_speeds[i-1]);
# 106| }
# 107| }
Error: CLANG_WARNING: [#def1116]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/mpris/rygel-mpris-player.vala:138:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 136|
# 137| public bool can_seek_bytes {
# 138|-> get {
# 139| return false;
# 140| }
Error: CLANG_WARNING: [#def1117]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/mpris/rygel-mpris-player.vala:167:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 165|
# 166| public int64 size {
# 167|-> get {
# 168| return 0;
# 169| }
Error: CLANG_WARNING: [#def1118]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/mpris/rygel-mpris-player.vala:183:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 181|
# 182| public int64 byte_position {
# 183|-> get {
# 184| return 0;
# 185| }
Error: CLANG_WARNING: [#def1119]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/mpris/rygel-mpris-player.vala:222:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 220| }
# 221|
# 222|-> public bool seek_bytes (int64 bytes) {
# 223| return false;
# 224| }
Error: CLANG_WARNING: [#def1120]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/mpris/rygel-mpris-plugin-factory.vala:40:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 38| }
# 39|
# 40|-> public class Rygel.MPRIS.PluginFactory {
# 41| private const string DBUS_SERVICE = "org.freedesktop.DBus";
# 42| private const string DBUS_OBJECT = "/org/freedesktop/DBus";
Error: CLANG_WARNING: [#def1121]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/mpris/rygel-mpris-plugin.vala:62:2: warning[deadcode.DeadStores]: Value stored to '_protocols_size_' is never read
# 60| }
# 61|
# 62|-> var protocols = new string[schemes.length];
# 63|
# 64| for (var i = 0; i < schemes.length; i++) {
Error: CLANG_WARNING: [#def1122]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/mpris/rygel-mpris-plugin.vala:65:5: warning[deadcode.DeadStores]: Value stored to '_tmp4__length1' is never read
# 63|
# 64| for (var i = 0; i < schemes.length; i++) {
# 65|-> protocols[i] = this.scheme_to_protocol (schemes[i]);
# 66| }
# 67|
Error: CLANG_WARNING: [#def1123]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/playbin/rygel-playbin-module.vala:27:2: warning[deadcode.DeadStores]: Value stored to '_args_size_' is never read
# 25|
# 26| public void module_init (PluginLoader loader) {
# 27|-> unowned string[] args = null;
# 28|
# 29| Gst.init (ref args);
Error: CLANG_WARNING: [#def1124]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/playbin/rygel-playbin-module.vala:29:2: warning[deadcode.DeadStores]: Value stored to '_args_size_' is never read
# 27| unowned string[] args = null;
# 28|
# 29|-> Gst.init (ref args);
# 30| try {
# 31| var plugin = new PlaybinPlugin ();
Error: CLANG_WARNING: [#def1125]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/playbin/rygel-playbin-plugin.vala:39:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 37| }
# 38|
# 39|-> public override MediaPlayer? get_player () {
# 40| try {
# 41| return PlaybinPlayer.instance ();
Error: COMPILER_WARNING (CWE-477): [#def1126]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-insertion-query.vala: scope_hint: In function ‘rygel_tracker_insertion_query_real_execute_co’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-insertion-query.vala:127:2: warning[-Wdeprecated-declarations]: ‘tracker_sparql_connection_update_blank_async’ is deprecated
/usr/include/tracker-3.0/libtracker-sparql/tracker-sparql.h:29: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/rygel-tracker3.h:8: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-insertion-query.c:27: included_from: Included from here.
/usr/include/tracker-3.0/libtracker-sparql/tracker-connection.h:198:6: note: declared here
# 125| debug ("Executing SPARQL query: %s", str);
# 126|
# 127|-> Variant v = yield resources.update_blank_async (str);
# 128| VariantIter iter1, iter2, iter3;
# 129| string key = null;
Error: COMPILER_WARNING (CWE-477): [#def1127]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-insertion-query.vala:127:2: warning[-Wdeprecated-declarations]: ‘tracker_sparql_connection_update_blank_finish’ is deprecated
/usr/include/tracker-3.0/libtracker-sparql/tracker-connection.h:204:12: note: declared here
# 125| debug ("Executing SPARQL query: %s", str);
# 126|
# 127|-> Variant v = yield resources.update_blank_async (str);
# 128| VariantIter iter1, iter2, iter3;
# 129| string key = null;
Error: CLANG_WARNING: [#def1128]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-item-factory.vala:99:2: warning[deadcode.DeadStores]: Value stored to '_split_id_size_' is never read
# 97| }
# 98|
# 99|-> var split_id = item.id.split (",");
# 100| if (split_id.length != 2) {
# 101| return;
Error: CLANG_WARNING: [#def1129]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-item-factory.vala:100:2: warning[deadcode.DeadStores]: Value stored to '_tmp6_' is never read
# 98|
# 99| var split_id = item.id.split (",");
# 100|-> if (split_id.length != 2) {
# 101| return;
# 102| }
Error: CLANG_WARNING: [#def1130]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-item-factory.vala:104:2: warning[deadcode.DeadStores]: Value stored to '_tmp9__length1' is never read
# 102| }
# 103|
# 104|-> item.ref_id = prefix + "," + split_id[1];
# 105| }
# 106|
Error: CLANG_WARNING: [#def1131]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-metadata-container.vala:32:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 30| * metadata key.
# 31| */
# 32|-> public abstract class Rygel.Tracker.MetadataContainer : Rygel.SimpleContainer {
# 33| /* class-wide constants */
# 34| private const string TRACKER_SERVICE = "org.freedesktop.Tracker1";
Error: CLANG_WARNING: [#def1132]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-metadata-multivalues.vala:61:2: warning[deadcode.DeadStores]: Value stored to '_tmp9_' is never read
# 59|
# 60| // All variables used in the query
# 61|-> var num_keys = this.key_chain.length - 1;
# 62| var variables = new string[num_keys];
# 63| for (int i = 0; i < num_keys; i++) {
Error: CLANG_WARNING: [#def1133]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-metadata-multivalues.vala:62:2: warning[deadcode.DeadStores]: Value stored to '_variables_size_' is never read
# 60| // All variables used in the query
# 61| var num_keys = this.key_chain.length - 1;
# 62|-> var variables = new string[num_keys];
# 63| for (int i = 0; i < num_keys; i++) {
# 64| variables[i] = "?" + key_chain[i].replace (":", "_");
Error: CLANG_WARNING: [#def1134]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-metadata-multivalues.vala:64:5: warning[deadcode.DeadStores]: Value stored to '_tmp13__length1' is never read
# 62| var variables = new string[num_keys];
# 63| for (int i = 0; i < num_keys; i++) {
# 64|-> variables[i] = "?" + key_chain[i].replace (":", "_");
# 65|
# 66| string subject;
Error: CLANG_WARNING: [#def1135]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-metadata-multivalues.vala:64:5: warning[deadcode.DeadStores]: Value stored to '_tmp14__length1' is never read
# 62| var variables = new string[num_keys];
# 63| for (int i = 0; i < num_keys; i++) {
# 64|-> variables[i] = "?" + key_chain[i].replace (":", "_");
# 65|
# 66| string subject;
Error: CLANG_WARNING: [#def1136]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-metadata-multivalues.vala:70:6: warning[deadcode.DeadStores]: Value stored to '_tmp20__length1' is never read
# 68| subject = SelectionQuery.ITEM_VARIABLE;
# 69| } else {
# 70|-> subject = variables[i - 1];
# 71| }
# 72|
Error: CLANG_WARNING: [#def1137]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-metadata-multivalues.vala:73:5: warning[deadcode.DeadStores]: Value stored to '_tmp25__length1' is never read
# 71| }
# 72|
# 73|-> this.triplets.add (new QueryTriplet (subject,
# 74| this.key_chain[i],
# 75| variables[i]));
Error: CLANG_WARNING: [#def1138]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-metadata-multivalues.vala:73:5: warning[deadcode.DeadStores]: Value stored to '_tmp27__length1' is never read
# 71| }
# 72|
# 73|-> this.triplets.add (new QueryTriplet (subject,
# 74| this.key_chain[i],
# 75| variables[i]));
Error: CLANG_WARNING: [#def1139]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-metadata-multivalues.vala:81:2: warning[deadcode.DeadStores]: Value stored to '_tmp32__length1' is never read
# 79| var selected = new ArrayList<string> ();
# 80| // Last variable is the only thing we are interested in the result
# 81|-> var last_variable = variables[num_keys - 1];
# 82| selected.add ("DISTINCT " + last_variable);
# 83|
Error: CLANG_WARNING: [#def1140]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-plugin.vala:26:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 24| using Tracker;
# 25|
# 26|-> public class Rygel.Tracker.Plugin : Rygel.MediaServerPlugin {
# 27| public const string NAME = "Tracker3";
# 28|
Error: COMPILER_WARNING (CWE-704): [#def1141]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-query.vala: scope_hint: In function ‘rygel_tracker_query_escape_string’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-query.vala:77:4: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 77 | char *p = literal;
# | ^
# 75| public static string escape_string (string literal) {
# 76| StringBuilder str = new StringBuilder ();
# 77|-> char *p = literal;
# 78|
# 79| while (*p != '\0') {
Error: CLANG_WARNING: [#def1142]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-root-container.vala:32:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 30| * Represents the root container for Tracker media content hierarchy.
# 31| */
# 32|-> public class Rygel.Tracker.RootContainer : Rygel.SimpleContainer {
# 33| private const string TRACKER_SERVICE = "org.freedesktop.Tracker3.Miner.Files";
# 34|
Error: CLANG_WARNING: [#def1143]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:34:2: note: '?' condition is false
# 32| * A container listing a Tracker search result.
# 33| */
# 34|-> public class Rygel.Tracker.SearchContainer : SimpleContainer {
# 35| /* class-wide constants */
# 36| private const string MODIFIED_PROPERTY = "nfo:fileLastModified";
Error: CLANG_WARNING: [#def1144]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:34:2: note: '?' condition is true
# 32| * A container listing a Tracker search result.
# 33| */
# 34|-> public class Rygel.Tracker.SearchContainer : SimpleContainer {
# 35| /* class-wide constants */
# 36| private const string MODIFIED_PROPERTY = "nfo:fileLastModified";
Error: CLANG_WARNING: [#def1145]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:34:2: note: Calling 'rygel_tracker_search_container_execute_query_co'
# 32| * A container listing a Tracker search result.
# 33| */
# 34|-> public class Rygel.Tracker.SearchContainer : SimpleContainer {
# 35| /* class-wide constants */
# 36| private const string MODIFIED_PROPERTY = "nfo:fileLastModified";
Error: CLANG_WARNING: [#def1146]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:34:2: note: Loop condition is false. Exiting loop
# 32| * A container listing a Tracker search result.
# 33| */
# 34|-> public class Rygel.Tracker.SearchContainer : SimpleContainer {
# 35| /* class-wide constants */
# 36| private const string MODIFIED_PROPERTY = "nfo:fileLastModified";
Error: CLANG_WARNING: [#def1147]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:34:2: note: Taking true branch
# 32| * A container listing a Tracker search result.
# 33| */
# 34|-> public class Rygel.Tracker.SearchContainer : SimpleContainer {
# 35| /* class-wide constants */
# 36| private const string MODIFIED_PROPERTY = "nfo:fileLastModified";
Error: CLANG_WARNING: [#def1148]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:34:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 32| * A container listing a Tracker search result.
# 33| */
# 34|-> public class Rygel.Tracker.SearchContainer : SimpleContainer {
# 35| /* class-wide constants */
# 36| private const string MODIFIED_PROPERTY = "nfo:fileLastModified";
Error: CLANG_WARNING: [#def1149]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:34:20: note: 'self' is not equal to null
# 32| * A container listing a Tracker search result.
# 33| */
# 34|-> public class Rygel.Tracker.SearchContainer : SimpleContainer {
# 35| /* class-wide constants */
# 36| private const string MODIFIED_PROPERTY = "nfo:fileLastModified";
Error: CLANG_WARNING: [#def1150]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:34:20: note: 'sort_criteria' is not equal to null
# 32| * A container listing a Tracker search result.
# 33| */
# 34|-> public class Rygel.Tracker.SearchContainer : SimpleContainer {
# 35| /* class-wide constants */
# 36| private const string MODIFIED_PROPERTY = "nfo:fileLastModified";
Error: CLANG_WARNING: [#def1151]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:34:20: note: Assuming field 'cancellable' is equal to null
# 32| * A container listing a Tracker search result.
# 33| */
# 34|-> public class Rygel.Tracker.SearchContainer : SimpleContainer {
# 35| /* class-wide constants */
# 36| private const string MODIFIED_PROPERTY = "nfo:fileLastModified";
Error: CLANG_WARNING: [#def1152]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:34:35: note: Assuming field 'expression' is not equal to null
# 32| * A container listing a Tracker search result.
# 33| */
# 34|-> public class Rygel.Tracker.SearchContainer : SimpleContainer {
# 35| /* class-wide constants */
# 36| private const string MODIFIED_PROPERTY = "nfo:fileLastModified";
Error: CLANG_WARNING: [#def1153]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:125:2: note: Control jumps to 'case 0:' at line 933
# 123| }
# 124|
# 125|-> public async MediaObjects? execute_query (SearchExpression? expression,
# 126| string sort_criteria,
# 127| uint offset,
Error: CLANG_WARNING: [#def1154]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:134:19: note: Calling 'rygel_tracker_search_container_create_query'
# 132| var results = new MediaObjects ();
# 133|
# 134|-> var query = this.create_query (expression as RelationalExpression,
# 135| (int) offset,
# 136| (int) max_count,
Error: CLANG_WARNING: [#def1155]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:134:78: note: '?' condition is false
# 132| var results = new MediaObjects ();
# 133|
# 134|-> var query = this.create_query (expression as RelationalExpression,
# 135| (int) offset,
# 136| (int) max_count,
Error: CLANG_WARNING: [#def1156]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:134:78: note: Assuming '__inst' is null
# 132| var results = new MediaObjects ();
# 133|
# 134|-> var query = this.create_query (expression as RelationalExpression,
# 135| (int) offset,
# 136| (int) max_count,
Error: CLANG_WARNING: [#def1157]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:134:78: note: Passing null pointer value via 2nd parameter 'expression'
# 132| var results = new MediaObjects ();
# 133|
# 134|-> var query = this.create_query (expression as RelationalExpression,
# 135| (int) offset,
# 136| (int) max_count,
Error: CLANG_WARNING: [#def1158]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:134:78: note: Taking true branch
# 132| var results = new MediaObjects ();
# 133|
# 134|-> var query = this.create_query (expression as RelationalExpression,
# 135| (int) offset,
# 136| (int) max_count,
Error: CLANG_WARNING: [#def1159]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:166:2: note: Taking false branch
# 164| Cancellable? cancellable)
# 165| throws GLib.Error {
# 166|-> if (!this.is_our_child (id)) {
# 167| return null;
# 168| }
Error: CLANG_WARNING: [#def1160]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:166:6: note: Assuming the condition is false
# 164| Cancellable? cancellable)
# 165| throws GLib.Error {
# 166|-> if (!this.is_our_child (id)) {
# 167| return null;
# 168| }
Error: CLANG_WARNING: [#def1161]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:176:2: note: Calling 'rygel_tracker_search_container_execute_query'
# 174|
# 175| uint total_matches;
# 176|-> var results = yield this.execute_query (expression,
# 177| "",
# 178| 0,
Error: CLANG_WARNING: [#def1162]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:197:2: warning[deadcode.DeadStores]: Value stored to '_tokens_size_' is never read
# 195| protected string? get_item_info (string item_id,
# 196| out string parent_id) {
# 197|-> var tokens = item_id.split (",", 2);
# 198|
# 199| if (tokens[0] != null && tokens[1] != null) {
Error: CLANG_WARNING: [#def1163]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:199:2: warning[deadcode.DeadStores]: Value stored to '_tmp3__length1' is never read
# 197| var tokens = item_id.split (",", 2);
# 198|
# 199|-> if (tokens[0] != null && tokens[1] != null) {
# 200| parent_id = tokens[0];
# 201|
Error: CLANG_WARNING: [#def1164]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:199:3: warning[deadcode.DeadStores]: Value stored to '_tmp5__length1' is never read
# 197| var tokens = item_id.split (",", 2);
# 198|
# 199|-> if (tokens[0] != null && tokens[1] != null) {
# 200| parent_id = tokens[0];
# 201|
Error: CLANG_WARNING: [#def1165]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:200:3: warning[deadcode.DeadStores]: Value stored to '_tmp7__length1' is never read
# 198|
# 199| if (tokens[0] != null && tokens[1] != null) {
# 200|-> parent_id = tokens[0];
# 201|
# 202| return tokens[1];
Error: CLANG_WARNING: [#def1166]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:202:3: warning[deadcode.DeadStores]: Value stored to '_tmp10__length1' is never read
# 200| parent_id = tokens[0];
# 201|
# 202|-> return tokens[1];
# 203| } else {
# 204| parent_id = null;
Error: CLANG_WARNING: [#def1167]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:240:2: note: Loop condition is false. Exiting loop
# 238| }
# 239|
# 240|-> private SelectionQuery? create_query (RelationalExpression? expression,
# 241| int offset,
# 242| int max_count,
Error: CLANG_WARNING: [#def1168]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:240:2: note: Taking true branch
# 238| }
# 239|
# 240|-> private SelectionQuery? create_query (RelationalExpression? expression,
# 241| int offset,
# 242| int max_count,
Error: CLANG_WARNING: [#def1169]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:240:24: note: Assuming 'self' is not equal to null
# 238| }
# 239|
# 240|-> private SelectionQuery? create_query (RelationalExpression? expression,
# 241| int offset,
# 242| int max_count,
Error: CLANG_WARNING: [#def1170]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:240:24: note: Assuming 'sort_criteria' is not equal to null
# 238| }
# 239|
# 240|-> private SelectionQuery? create_query (RelationalExpression? expression,
# 241| int offset,
# 242| int max_count,
Error: CLANG_WARNING: [#def1171]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:244:11: note: Access to field 'operand1' results in a dereference of a null pointer (loaded from variable 'expression')
# 242| int max_count,
# 243| string sort_criteria = "") {
# 244|-> if (expression.operand1 == "upnp:class" &&
# 245| !this.item_factory.upnp_class.has_prefix (expression.operand2)) {
# 246| return null;
Error: CLANG_WARNING: [#def1172]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:244:11: warning[core.NullDereference]: Access to field 'operand1' results in a dereference of a null pointer (loaded from variable 'expression')
# 242| int max_count,
# 243| string sort_criteria = "") {
# 244|-> if (expression.operand1 == "upnp:class" &&
# 245| !this.item_factory.upnp_class.has_prefix (expression.operand2)) {
# 246| return null;
Error: CLANG_WARNING: [#def1173]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-search-container.vala:277:2: warning[deadcode.DeadStores]: Value stored to '_sort_props_size_' is never read
# 275| private SelectionQuery? create_sorted_query (string sort_criteria) {
# 276| var key_chain_map = UPnPPropertyMap.get_property_map ();
# 277|-> var sort_props = sort_criteria.split (",");
# 278| string order = "";
# 279| ArrayList<string> variables = new ArrayList<string> ();
Error: CLANG_WARNING: [#def1174]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-selection-query.vala:121:2: warning[deadcode.DeadStores]: Value stored to '_tmp56_' is never read
# 119| }
# 120|
# 121|-> if (uri_filters.length != 0) {
# 122| this.uri_filter = "(%s)".printf (string.joinv ("||", uri_filters));
# 123| } else {
Error: COMPILER_WARNING (CWE-843): [#def1175]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-tags.vala: scope_hint: In function ‘rygel_tracker_tags_construct’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-tags.vala:37:145: warning[-Wincompatible-pointer-types]: passing argument 6 of ‘rygel_tracker_metadata_multi_values_construct’ from incompatible pointer type
# 37 | base (parent.id + TITLE, parent, TITLE, item_factory, KEY_CHAIN);
# | ^
# | |
# | const gchar ** {aka const char **}
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/librygel-tracker3.so.p/rygel-tracker-tags.c:27: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/plugins/tracker3/rygel-tracker3.h:886:89: note: expected ‘gchar **’ {aka ‘char **’} but argument is of type ‘const gchar **’ {aka ‘const char **’}
# 886 | gchar** key_chain,
# | ~~~~~~~~^~~~~~~~~
# 35|
# 36| public Tags (MediaContainer parent, ItemFactory item_factory) {
# 37|-> base (parent.id + TITLE, parent, TITLE, item_factory, KEY_CHAIN);
# 38| }
# 39| }
Error: CLANG_WARNING: [#def1176]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-titles.vala:66:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 64| // title this method returns so we don't need to worry about multiple
# 65| // containers being created for each letter.
# 66|-> protected override string? create_title_for_value (string value) {
# 67| var c = value.get_char_validated ();
# 68|
Error: GCC_ANALYZER_WARNING (CWE-685): [#def1177]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-upnp-property-map.vala: scope_hint: In function ‘rygel_tracker_upn_pproperty_map_add_key_chain’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-upnp-property-map.vala:160:10: warning[-Wanalyzer-va-list-exhausted]: ‘list’ has no more arguments (2 consumed)
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-upnp-property-map.vala:147:2: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-upnp-property-map.vala:30:2: note: in expansion of macro ‘g_return_val_if_fail’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-upnp-property-map.vala:148:2: note: in expansion of macro ‘_rygel_tracker_query_variable_unref0’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-upnp-property-map.vala:148:2: note: in expansion of macro ‘_rygel_tracker_query_variable_unref0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-upnp-property-map.vala:151:2: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here.
/usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:56: included_from: Included from here.
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-upnp-property-map.vala:160:12: note: in expansion of macro ‘g_strdup’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-upnp-property-map.vala: scope_hint: In function ‘rygel_tracker_upn_pproperty_map_add_key_chain’
# 158| key_chain.add (key);
# 159|
# 160|-> key = list.arg ();
# 161| }
# 162|
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1178]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-upnp-property-map.vala: scope_hint: In function ‘rygel_tracker_upn_pproperty_map_add_alternative’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-upnp-property-map.vala:185:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘g_string_new("tracker:coalesce(")’
/usr/include/glib-2.0/glib/gstring.h:260:35: note: in definition of macro ‘g_string_truncate’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-upnp-property-map.vala:170:2: note: in expansion of macro ‘g_return_if_fail’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-upnp-property-map.vala:177:7: note: in expansion of macro ‘g_str_has_prefix’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-upnp-property-map.vala:177:7: note: in expansion of macro ‘g_str_has_prefix’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-upnp-property-map.vala:178:4: note: in expansion of macro ‘g_string_append’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gstring.h:220:6: note: in expansion of macro ‘G_UNLIKELY’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1245:45: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gstring.h:220:6: note: in expansion of macro ‘G_UNLIKELY’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-upnp-property-map.vala: scope_hint: In function ‘rygel_tracker_upn_pproperty_map_add_alternative’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-upnp-property-map.vala:182:13: note: in expansion of macro ‘g_strdup’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-upnp-property-map.vala: scope_hint: In function ‘rygel_tracker_upn_pproperty_map_add_alternative’
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-upnp-property-map.vala:182:3: note: in expansion of macro ‘_g_free0’
/usr/include/glib-2.0/glib/gstring.h:260:35: note: in definition of macro ‘g_string_truncate’
/usr/include/glib-2.0/glib/gstring.h:260:35: note: in definition of macro ‘g_string_truncate’
# 183| }
# 184|
# 185|-> str.truncate (str.len - 1);
# 186| str.append (")");
# 187|
Error: CLANG_WARNING: [#def1179]
rygel-0.42.6-build/rygel-0.42.6/src/plugins/tracker3/rygel-tracker-years.vala:38:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 36| }
# 37|
# 38|-> protected override string? create_title_for_value (string value) {
# 39| return value.substring (0, 4);
# 40| }
Error: CLANG_WARNING: [#def1180]
rygel-0.42.6-build/rygel-0.42.6/src/rygel/application.vala:6:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 4| using GUPnP;
# 5|
# 6|-> public class Rygel.Application : GLib.Application {
# 7| // Default time to wait for plugins showing up
# 8| private static int PLUGIN_TIMEOUT = 5;
Error: CLANG_WARNING: [#def1181]
rygel-0.42.6-build/rygel-0.42.6/src/rygel/application.vala:45:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 43| }
# 44|
# 45|-> public override int handle_local_options (VariantDict options) {
# 46| int count;
# 47| if (options.lookup ("version", "b", out count)) {
Error: CLANG_WARNING: [#def1182]
rygel-0.42.6-build/rygel-0.42.6/src/rygel/application.vala:47:2: warning[deadcode.DeadStores]: Value stored to 'count' is never read
# 45| public override int handle_local_options (VariantDict options) {
# 46| int count;
# 47|-> if (options.lookup ("version", "b", out count)) {
# 48| print ("%s\n", BuildConfig.PACKAGE_STRING);
# 49|
Error: CLANG_WARNING: [#def1183]
rygel-0.42.6-build/rygel-0.42.6/src/rygel/application.vala:256:2: warning[deadcode.DeadStores]: Value stored to '_ifaces_size_' is never read
# 254| private void on_context_available (GUPnP.ContextManager manager,
# 255| GUPnP.Context context) {
# 256|-> string[] ifaces = null;
# 257|
# 258| debug ("New network %s (%s) context available. IP: %s",
Error: CLANG_WARNING: [#def1184]
rygel-0.42.6-build/rygel-0.42.6/src/rygel/application.vala:266:3: warning[deadcode.DeadStores]: Value stored to '__tmp10__size_' is never read
# 264|
# 265| try {
# 266|-> ifaces = this.config.get_interfaces ();
# 267| } catch (GLib.Error err) {
# 268| }
Error: CLANG_WARNING: [#def1185]
rygel-0.42.6-build/rygel-0.42.6/src/rygel/application.vala:266:3: warning[deadcode.DeadStores]: Value stored to '_ifaces_size_' is never read
# 264|
# 265| try {
# 266|-> ifaces = this.config.get_interfaces ();
# 267| } catch (GLib.Error err) {
# 268| }
Error: CLANG_WARNING: [#def1186]
rygel-0.42.6-build/rygel-0.42.6/src/rygel/application.vala:270:2: warning[deadcode.DeadStores]: Value stored to '_tmp18__length1' is never read
# 268| }
# 269|
# 270|-> if (ifaces == null ||
# 271| context.interface in ifaces ||
# 272| context.network in ifaces ||
Error: COMPILER_WARNING (CWE-697): [#def1187]
rygel-0.42.6-build/rygel-0.42.6/src/rygel/rygel-acl.vala: scope_hint: In function ‘rygel_acl_real_constructed’
rygel-0.42.6-build/rygel-0.42.6/src/rygel/rygel-acl.vala:32:199: warning[-Waddress]: the comparison will always evaluate as ‘false’ for the address of ‘_rygel_acl_on_name_appeared_gbus_name_appeared_callback’ will never be NULL
# 32 | Bus.watch_name (BusType.SESSION,
# | ^
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/src/rygel/rygel.p/rygel-acl.c:219:1: note: ‘_rygel_acl_on_name_appeared_gbus_name_appeared_callback’ declared here
# 219 | _rygel_acl_on_name_appeared_gbus_name_appeared_callback (GDBusConnection* connection,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 30| base.constructed ();
# 31|
# 32|-> Bus.watch_name (BusType.SESSION,
# 33| DBusAclProvider.SERVICE_NAME,
# 34| BusNameWatcherFlags.AUTO_START,
Error: COMPILER_WARNING (CWE-697): [#def1188]
rygel-0.42.6-build/rygel-0.42.6/src/rygel/rygel-acl.vala:32:428: warning[-Waddress]: the comparison will always evaluate as ‘false’ for the address of ‘_rygel_acl_on_name_vanished_gbus_name_vanished_callback’ will never be NULL
# 32 | Bus.watch_name (BusType.SESSION,
# | ^
rygel-acl.c:230:1: note: ‘_rygel_acl_on_name_vanished_gbus_name_vanished_callback’ declared here
# 30| base.constructed ();
# 31|
# 32|-> Bus.watch_name (BusType.SESSION,
# 33| DBusAclProvider.SERVICE_NAME,
# 34| BusNameWatcherFlags.AUTO_START,
Error: CLANG_WARNING: [#def1189]
rygel-0.42.6-build/rygel-0.42.6/src/rygel/rygel-acl.vala:77:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 75| throws GLib.Error {
# 76| if (this.provider == null) {
# 77|-> Idle.add ( () => { is_allowed_async.callback (); return false; });
# 78| yield;
# 79|
Error: COMPILER_WARNING (CWE-697): [#def1190]
rygel-0.42.6-build/rygel-0.42.6/src/rygel/rygel-dbus-service.vala: scope_hint: In function ‘rygel_dbus_service_publish’
rygel-0.42.6-build/rygel-0.42.6/src/rygel/rygel-dbus-service.vala:39:224: warning[-Waddress]: the comparison will always evaluate as ‘false’ for the address of ‘_rygel_dbus_service_on_name_available_gbus_name_acquired_callback’ will never be NULL
# 39 | this.name_id = Bus.own_name_on_connection (connection,
# | ^
rygel-dbus-service.c:223:1: note: ‘_rygel_dbus_service_on_name_available_gbus_name_acquired_callback’ declared here
# 37|
# 38| internal void publish (DBusConnection connection) {
# 39|-> this.name_id = Bus.own_name_on_connection (connection,
# 40| DBusInterface.SERVICE_NAME,
# 41| BusNameOwnerFlags.NONE,
Error: COMPILER_WARNING (CWE-697): [#def1191]
rygel-0.42.6-build/rygel-0.42.6/src/rygel/rygel-dbus-service.vala:39:464: warning[-Waddress]: the comparison will always evaluate as ‘false’ for the address of ‘_rygel_dbus_service_on_name_lost_gbus_name_lost_callback’ will never be NULL
# 39 | this.name_id = Bus.own_name_on_connection (connection,
# | ^
rygel-dbus-service.c:233:1: note: ‘_rygel_dbus_service_on_name_lost_gbus_name_lost_callback’ declared here
# 37|
# 38| internal void publish (DBusConnection connection) {
# 39|-> this.name_id = Bus.own_name_on_connection (connection,
# 40| DBusInterface.SERVICE_NAME,
# 41| BusNameOwnerFlags.NONE,
Error: CLANG_WARNING: [#def1192]
rygel-0.42.6-build/rygel-0.42.6/src/ui/rygel-network-pref-section.vala:85:3: warning[deadcode.DeadStores]: Value stored to '_interfaces_size_' is never read
# 83|
# 84| try {
# 85|-> var interfaces = config.get_interfaces ();
# 86| foreach (var iface in interfaces) {
# 87| TreeIter iter;
Error: CLANG_WARNING: [#def1193]
rygel-0.42.6-build/rygel-0.42.6/src/ui/rygel-network-pref-section.vala:129:2: warning[deadcode.DeadStores]: Value stored to 'iter' is never read
# 127| TreeIter iter;
# 128|
# 129|-> if (!this.find_interface (context.interface, out iter)) {
# 130| this.iface_store.append (out iter);
# 131| this.iface_store.set (iter, 0, context.interface);
Error: CLANG_WARNING: [#def1194]
rygel-0.42.6-build/rygel-0.42.6/src/ui/rygel-writable-user-config.vala:71:2: warning[deadcode.DeadStores]: Value stored to 'enabled' is never read
# 69|
# 70| public void set_upnp_enabled (bool value) {
# 71|-> bool enabled = false;
# 72|
# 73| enabled = this.is_upnp_enabled ();
Error: CLANG_WARNING: [#def1195]
rygel-0.42.6-build/rygel-0.42.6/src/ui/rygel-writable-user-config.vala:135:2: warning[deadcode.DeadStores]: Value stored to '_strings_size_' is never read
# 133| Gee.ArrayList<string> str_list) {
# 134| // GConf requires us to provide it GLib.SList
# 135|-> var strings = new string[str_list.size];
# 136| int i = 0;
# 137|
Error: CLANG_WARNING: [#def1196]
rygel-0.42.6-build/rygel-0.42.6/src/ui/rygel-writable-user-config.vala:140:5: warning[deadcode.DeadStores]: Value stored to '_tmp11__length1' is never read
# 138| foreach (var str in str_list) {
# 139| if (str != "") {
# 140|-> strings[i++] = str;
# 141| }
# 142| }
Error: COMPILER_WARNING (CWE-697): [#def1197]
rygel-0.42.6-build/rygel-0.42.6/src/ui/rygel-writable-user-config.vala: scope_hint: In function ‘rygel_writable_user_config_enable_upnp’
rygel-0.42.6-build/rygel-0.42.6/src/ui/rygel-writable-user-config.vala:178:184: warning[-Waddress]: the comparison will always evaluate as ‘false’ for the address of ‘_____lambda4__gbus_name_appeared_callback’ will never be NULL
# 178 | Bus.watch_name (BusType.SESSION,
# | ^
rygel-writable-user-config.c:853:1: note: ‘_____lambda4__gbus_name_appeared_callback’ declared here
# 176| var loop = new MainLoop (null, false);
# 177| // Creating the proxy starts the service
# 178|-> Bus.watch_name (BusType.SESSION,
# 179| DBusInterface.SERVICE_NAME,
# 180| BusNameWatcherFlags.AUTO_START,
Error: COMPILER_WARNING (CWE-697): [#def1198]
rygel-0.42.6-build/rygel-0.42.6/src/ui/rygel-writable-user-config.vala:178:394: warning[-Waddress]: the comparison will always evaluate as ‘false’ for the address of ‘_____lambda5__gbus_name_vanished_callback’ will never be NULL
# 178 | Bus.watch_name (BusType.SESSION,
# | ^
rygel-writable-user-config.c:878:1: note: ‘_____lambda5__gbus_name_vanished_callback’ declared here
# 176| var loop = new MainLoop (null, false);
# 177| // Creating the proxy starts the service
# 178|-> Bus.watch_name (BusType.SESSION,
# 179| DBusInterface.SERVICE_NAME,
# 180| BusNameWatcherFlags.AUTO_START,
Error: CLANG_WARNING: [#def1199]
rygel-0.42.6-build/rygel-0.42.6/src/ui/rygel-writable-user-config.vala:181:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 179| DBusInterface.SERVICE_NAME,
# 180| BusNameWatcherFlags.AUTO_START,
# 181|-> () => { loop.quit (); },
# 182| () => { loop.quit (); });
# 183|
Error: CLANG_WARNING: [#def1200]
rygel-0.42.6-build/rygel-0.42.6/src/ui/rygel-writable-user-config.vala:182:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 180| BusNameWatcherFlags.AUTO_START,
# 181| () => { loop.quit (); },
# 182|-> () => { loop.quit (); });
# 183|
# 184| loop.run ();
Error: COMPILER_WARNING (CWE-704): [#def1201]
rygel-0.42.6-build/rygel-0.42.6/tests/object-creator/test.vala: scope_hint: In function ‘rygel_media_object_set_id’
rygel-0.42.6-build/rygel-0.42.6/tests/object-creator/test.vala:106:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 104|
# 105| public class Rygel.MediaObject : GLib.Object {
# 106|-> public string id {get; set; }
# 107| public string ref_id;
# 108| public unowned MediaContainer parent { get; set; }
Error: COMPILER_WARNING (CWE-704): [#def1202]
rygel-0.42.6-build/rygel-0.42.6/tests/object-creator/test.vala: scope_hint: In function ‘rygel_media_object_set_title’
rygel-0.42.6-build/rygel-0.42.6/tests/object-creator/test.vala:110:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 108| public unowned MediaContainer parent { get; set; }
# 109| public string upnp_class;
# 110|-> public string title { get; set; }
# 111| public GUPnP.OCMFlags ocm_flags;
# 112| public Gee.ArrayList<string> uris;
Error: CLANG_WARNING: [#def1203]
rygel-0.42.6-build/rygel-0.42.6/tests/object-creator/test.vala:252:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 250| Cancellable? cancellable = null)
# 251| throws Error {
# 252|-> Idle.add (() => { find_object.callback (); return false; });
# 253| yield;
# 254|
Error: CLANG_WARNING: [#def1204]
rygel-0.42.6-build/rygel-0.42.6/tests/object-creator/test.vala:291:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 289| out int total_matches) {
# 290| total_matches = 0;
# 291|-> Idle.add (() => { search.callback (); return false; });
# 292| yield;
# 293|
Error: CLANG_WARNING: [#def1205]
rygel-0.42.6-build/rygel-0.42.6/tests/object-creator/test.vala:461:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 459| private void test_fetch_container_run (ObjectCreator creator) {
# 460| var main_loop = new MainLoop (null, false);
# 461|-> creator.run.begin ( () => { main_loop.quit (); });
# 462| main_loop.run ();
# 463| }
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1206]
rygel-0.42.6-build/rygel-0.42.6/tests/object-creator/test.vala: scope_hint: In function ‘rygel_http_object_creator_test_test_fetch_container’
rygel-0.42.6-build/rygel-0.42.6/tests/object-creator/test.vala:477:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rygel_searchable_container_new()’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:195:33: note: in definition of macro ‘_g_object_unref0’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/tests/object-creator/test.vala:465:2: note: in expansion of macro ‘g_return_if_fail’
rygel-0.42.6-build/rygel-0.42.6/tests/object-creator/test.vala: scope_hint: In function ‘rygel_http_object_creator_test_test_fetch_container’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:195:33: note: in definition of macro ‘_g_object_unref0’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/tests/object-creator/test.vala:459:2: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/tests/object-creator/test.vala:459:2: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:510:36: note: in expansion of macro ‘G_LIKELY’
rygel-0.42.6-build/rygel-0.42.6/tests/object-creator/test.vala:473:2: note: in expansion of macro ‘_vala_assert’
rygel-0.42.6-build/rygel-0.42.6/redhat-linux-build/tests/rygel-object-creator-test.p/object-creator/test.c:195:33: note: in definition of macro ‘_g_object_unref0’
# 475| // check case when found object is not a container → Error 710
# 476| // cf. ContentDirectory:2 spec, Table 2-22
# 477|-> root_container.found_object = new MediaObject ();
# 478| this.test_fetch_container_run (creator);
# 479| assert (action.error_code == no_such_container.code);
Error: CLANG_WARNING: [#def1207]
rygel-0.42.6-build/rygel-0.42.6/tests/object-creator/test.vala:487:2: warning[deadcode.DeadStores]: Value stored to '_tmp11_' is never read
# 485|
# 486| // check case when found container is not a writable container
# 487|-> root_container.found_object.ocm_flags |= GUPnP.OCMFlags.UPLOAD;
# 488| this.test_fetch_container_run (creator);
# 489| assert (action.error_code == restricted_parent.code);
Error: CLANG_WARNING: [#def1208]
rygel-0.42.6-build/rygel-0.42.6/tests/plugin-loader/rygel-plugin-loader-test.vala:54:2: warning[deadcode.DeadStores]: Value stored to '_tmp16_' is never read
# 52| {"librygel-tracker3.so"});
# 53| loader.load_modules_sync (null);
# 54|-> assert (loader.loaded_plugins.length == 2);
# 55| assert ("librygel-tracker.so" in loader.loaded_plugins);
# 56| assert ("librygel-no-conflict.so" in loader.loaded_plugins);
Error: CLANG_WARNING: [#def1209]
rygel-0.42.6-build/rygel-0.42.6/tests/plugin-loader/rygel-plugin-loader-test.vala:72:2: warning[deadcode.DeadStores]: Value stored to '_tmp16_' is never read
# 70| {"librygel-tracker.so"});
# 71| loader.load_modules_sync (null);
# 72|-> assert (loader.loaded_plugins.length == 2);
# 73| assert ("librygel-tracker3.so" in loader.loaded_plugins);
# 74| assert ("librygel-no-conflict.so" in loader.loaded_plugins);
Error: CLANG_WARNING: [#def1210]
rygel-0.42.6-build/rygel-0.42.6/tests/plugin-loader/rygel-plugin-loader-test.vala:92:2: warning[deadcode.DeadStores]: Value stored to '_tmp16_' is never read
# 90|
# 91| loader.load_modules_sync ();
# 92|-> assert (loader.loaded_plugins.length == 2);
# 93| assert ("librygel-tracker.so" in loader.loaded_plugins);
# 94| assert ("librygel-no-conflict.so" in loader.loaded_plugins);
Error: CLANG_WARNING: [#def1211]
rygel-0.42.6-build/rygel-0.42.6/tests/plugin-loader/rygel-plugin-loader-test.vala:99:2: warning[deadcode.DeadStores]: Value stored to '_tmp19_' is never read
# 97| config.toggle_enable ("Tracker3");
# 98|
# 99|-> assert (loader.loaded_plugins.length == 2);
# 100| assert ("librygel-tracker.so" in loader.loaded_plugins);
# 101| assert ("librygel-no-conflict.so" in loader.loaded_plugins);
Error: CLANG_WARNING: [#def1212]
rygel-0.42.6-build/rygel-0.42.6/tests/rygel-database-test.vala:39:3: warning[deadcode.DeadStores]: Value stored to '_val_size_' is never read
# 37|
# 38| try {
# 39|-> Value[] val = { "c" };
# 40| db.exec ("replace into object (title) VALUES (?);", val);
# 41| assert_not_reached ();
Error: CLANG_WARNING: [#def1213]
rygel-0.42.6-build/rygel-0.42.6/tests/rygel-regression.vala:23:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 21| */
# 22|
# 23|-> private class Rygel.Regression {
# 24| private MainLoop loop;
# 25|
Error: CLANG_WARNING: [#def1214]
rygel-0.42.6-build/rygel-0.42.6/tests/rygel-user-config-test.vala:134:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 132| }
# 133|
# 134|-> public override void perform (string config) {}
# 135| }
# 136|
Error: CLANG_WARNING: [#def1215]
rygel-0.42.6-build/rygel-0.42.6/tests/searchable-container/test.vala:56:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 54| Cancellable? cancellable)
# 55| throws Error {
# 56|-> Idle.add ( () => { get_children.callback (); return false; });
# 57| yield;
# 58|
Error: CLANG_WARNING: [#def1216]
rygel-0.42.6-build/rygel-0.42.6/tests/searchable-container/test.vala:70:2: warning[deadcode.DeadStores]: Value stored to '_data_' is never read
# 68| }
# 69|
# 70|-> public class TestContainer : MediaContainer, Rygel.SearchableContainer {
# 71| public MainLoop loop;
# 72| public Gee.ArrayList<string> search_classes { get; set; default = new
Error: CLANG_WARNING: [#def1217]
rygel-0.42.6-build/rygel-0.42.6/tests/time-seek/rygel-http-time-seek-test.vala:1:2: warning[deadcode.DeadStores]: Value stored to 'self' is never read
# 1|-> public class PlaySpeed : Object {
# 2| public double speed = 1.0;
# 3|
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-240.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | rygel-0.42.6-1.fc41 |
store-results-to | /tmp/tmp4f_95kzy/rygel-0.42.6-1.fc41.tar.xz |
time-created | 2024-07-03 18:04:07 |
time-finished | 2024-07-03 18:11:05 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp4f_95kzy/rygel-0.42.6-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp4f_95kzy/rygel-0.42.6-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |