[totem-pl-parser] plparser: Fix uninitialized variable errors
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem-pl-parser] plparser: Fix uninitialized variable errors
- Date: Thu, 24 Jun 2021 14:32:02 +0000 (UTC)
commit 2868ca82fdbaf4dcb24b69f250a3c5d94d15075f
Author: crvi <crvisqr gmail com>
Date: Thu Mar 18 18:47:12 2021 +0530
plparser: Fix uninitialized variable errors
plparse/totem-pl-parser.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plparse/totem-pl-parser.c b/plparse/totem-pl-parser.c
index ee6f12f..0f2c6d2 100644
--- a/plparse/totem-pl-parser.c
+++ b/plparse/totem-pl-parser.c
@@ -1789,8 +1789,8 @@ totem_pl_parser_glob_is_ignored (TotemPlParser *parser,
gboolean
totem_pl_parser_ignore (TotemPlParser *parser, const char *uri)
{
- g_autofree char *mimetype;
- g_autoptr(GFile) file;
+ g_autofree char *mimetype = NULL;
+ g_autoptr(GFile) file = NULL;
guint i;
if (totem_pl_parser_glob_is_ignored (parser, uri) != FALSE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]