[gnome-software] trivial: Fix a typo spotted by coverity
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Fix a typo spotted by coverity
- Date: Tue, 22 Nov 2016 16:36:35 +0000 (UTC)
commit eeb93a36e695dd8dfb1a64b6ad2e7b0d683c68a2
Author: Richard Hughes <richard hughsie com>
Date: Tue Nov 22 16:35:32 2016 +0000
trivial: Fix a typo spotted by coverity
src/gs-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-utils.c b/src/gs-utils.c
index da868c3..afd3e1b 100644
--- a/src/gs-utils.c
+++ b/src/gs-utils.c
@@ -111,7 +111,7 @@ gs_utils_filename_array_return_newest (GPtrArray *array)
guint i;
for (i = 0; i < array->len; i++) {
const gchar *fn = g_ptr_array_index (array, i);
- g_autoptr(GFile) file = file = g_file_new_for_path (fn);
+ g_autoptr(GFile) file = g_file_new_for_path (fn);
guint age_tmp = gs_utils_get_file_age (file);
if (age_tmp < age_lowest) {
age_lowest = age_tmp;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]