[gcab] trivial: Fix typo spotted by Coverity



commit 031c3ea123c60e5ad65bef61e9be3dfbd46cb8cc
Author: Richard Hughes <richard hughsie com>
Date:   Wed Apr 13 13:08:51 2022 +0100

    trivial: Fix typo spotted by Coverity

 tests/gcab-self-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/gcab-self-test.c b/tests/gcab-self-test.c
index cdfb9b6..c9b2aab 100644
--- a/tests/gcab-self-test.c
+++ b/tests/gcab-self-test.c
@@ -276,7 +276,7 @@ gcab_test_cabinet_blob_func (void)
         g_autoptr(GCabFile) cabfile = gcab_file_new_with_bytes (files[i].fn, bytes_tmp);
 
         /* set the time and attributes */
-        g_autoptr(GDateTime) dt = dt = g_date_time_new_utc (2017, 9, 15, 0, 0, 0.f);
+        g_autoptr(GDateTime) dt = g_date_time_new_utc (2017, 9, 15, 0, 0, 0.f);
         gcab_file_set_date_time (cabfile, dt);
         gcab_file_set_attributes (cabfile, GCAB_FILE_ATTRIBUTE_ARCH);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]