Task #119497 - fixed.err

back to task #119497
download
Error: COMPILER_WARNING (CWE-477):
totem-pl-parser-3.26.6/plparse/totem-pl-parser-decode-date.c: scope_hint: In function ‘get_tzone’
totem-pl-parser-3.26.6/plparse/totem-pl-parser-decode-date.c:322:25: warning[-Wdeprecated-declarations]: ‘g_time_zone_new’ is deprecated: Use 'g_time_zone_new_identifier' instead
#  322 |                         return g_time_zone_new (tzone);
#      |                         ^~~~~~
/usr/include/glib-2.0/glib/gdatetime.h:33: included_from: Included from here.
/usr/include/glib-2.0/glib/gbookmarkfile.h:28: included_from: Included from here.
/usr/include/glib-2.0/glib.h:39: included_from: Included from here.
totem-pl-parser-3.26.6/plparse/totem-pl-parser-decode-date.h:20: included_from: Included from here.
totem-pl-parser-3.26.6/plparse/totem-pl-parser-decode-date.c:24: included_from: Included from here.
/usr/include/glib-2.0/glib/gtimezone.h:59:25: note: declared here
#   59 | GTimeZone *             g_time_zone_new                                 (const gchar *identifier);
#      |                         ^~~~~~~~~~~~~~~
#  320|   			tzone[len] = '\0';
#  321|   
#  322|-> 			return g_time_zone_new (tzone);
#  323|   		}
#  324|   

Error: COMPILER_WARNING (CWE-477):
totem-pl-parser-3.26.6/plparse/totem-pl-parser-decode-date.c:322:25: warning[-Wdeprecated-declarations]: ‘g_time_zone_new’ is deprecated: Use 'g_time_zone_new_identifier' instead
#  320|   			tzone[len] = '\0';
#  321|   
#  322|-> 			return g_time_zone_new (tzone);
#  323|   		}
#  324|   

Error: COMPILER_WARNING (CWE-477):
totem-pl-parser-3.26.6/plparse/totem-pl-parser-decode-date.c:341:25: warning[-Wdeprecated-declarations]: ‘g_time_zone_new’ is deprecated: Use 'g_time_zone_new_identifier' instead
#  341 |                         return g_time_zone_new (tzone);
#      |                         ^~~~~~
/usr/include/glib-2.0/glib/gtimezone.h:59:25: note: declared here
#   59 | GTimeZone *             g_time_zone_new                                 (const gchar *identifier);
#      |                         ^~~~~~~~~~~~~~~
#  339|   			snprintf (tzone, 6, "%+05d", tz_offsets[t].offset);
#  340|   
#  341|-> 			return g_time_zone_new (tzone);
#  342|   		}
#  343|   	}

Error: COMPILER_WARNING (CWE-477):
totem-pl-parser-3.26.6/plparse/totem-pl-parser-decode-date.c:341:25: warning[-Wdeprecated-declarations]: ‘g_time_zone_new’ is deprecated: Use 'g_time_zone_new_identifier' instead
#  339|   			snprintf (tzone, 6, "%+05d", tz_offsets[t].offset);
#  340|   
#  341|-> 			return g_time_zone_new (tzone);
#  342|   		}
#  343|   	}

Error: CPPCHECK_WARNING (CWE-457):
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:1776: warning[uninitvar]: Uninitialized variable: ret
# 1774|   	g_mutex_unlock (&parser->priv->ignore_mutex);
# 1775|   
# 1776|-> 	return (ret == 0);
# 1777|   }
# 1778|   

Error: GCC_ANALYZER_WARNING (CWE-457):
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:1776:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ret’
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2326:1: enter_function: entry to ‘totem_pl_parser_parse_with_base’
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2333:9: branch_false: following ‘false’ branch (when ‘parser’ is non-NULL)...
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2333:9: branch_false: ...to here
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2334:9: branch_true: following ‘true’ branch (when ‘uri’ is non-NULL)...
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2335:9: branch_true: ...to here
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2335:9: branch_true: following ‘true’ branch...
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2338:16: branch_true: ...to here
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2341:13: call_function: calling ‘totem_pl_parser_scheme_is_ignored’ from ‘totem_pl_parser_parse_with_base’
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2341:13: return_function: returning to ‘totem_pl_parser_parse_with_base’ from ‘totem_pl_parser_scheme_is_ignored’
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2341:12: branch_false: following ‘false’ branch...
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2347:9: branch_false: ...to here
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2353:12: branch_false: following ‘false’ branch (when ‘base’ is NULL)...
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2355:18: branch_false: ...to here
totem-pl-parser-3.26.6/plparse/totem-pl-parser.c:2355:18: call_function: calling ‘totem_pl_parser_parse_internal’ from ‘totem_pl_parser_parse_with_base’
# 1774|   	g_mutex_unlock (&parser->priv->ignore_mutex);
# 1775|   
# 1776|-> 	return (ret == 0);
# 1777|   }
# 1778|