forked from pool/gnome-software
Final one - I give up :-) OBS-URL: https://build.opensuse.org/request/show/396734 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-software?expand=0&rev=83
26 lines
763 B
Diff
26 lines
763 B
Diff
From d4730427508740f70b89f8417fc2db01a3918736 Mon Sep 17 00:00:00 2001
|
|
From: Richard Hughes <richard@hughsie.com>
|
|
Date: Fri, 22 Apr 2016 18:25:34 +0100
|
|
Subject: trivial: Fix a possible crash spotted by clang
|
|
|
|
---
|
|
src/gs-shell-details.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
|
|
index 7e1982f..57e0aa9 100644
|
|
--- a/src/gs-shell-details.c
|
|
+++ b/src/gs-shell-details.c
|
|
@@ -996,7 +996,7 @@ gs_shell_details_review_button_clicked_cb (GsReviewRow *row,
|
|
static void
|
|
gs_shell_details_refresh_reviews (GsShellDetails *self)
|
|
{
|
|
- GArray *review_ratings;
|
|
+ GArray *review_ratings = NULL;
|
|
GPtrArray *reviews;
|
|
gboolean show_review_button = TRUE;
|
|
gboolean show_reviews = FALSE;
|
|
--
|
|
cgit v0.12
|
|
|