[gnome-photos] tracker-change-monitor: Drop unnecessary packed attribute



commit 7df2478c5ac10f51157b12f7e35ada6a6488d262
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Dec 1 12:59:46 2017 +0000

    tracker-change-monitor: Drop unnecessary packed attribute
    
    There is no need to pack a structure with four uniform types, and the
    compiler warns about it if you use -Wpacked — which is the default when
    using AX_COMPILER_FLAGS.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=791082

 src/photos-tracker-change-monitor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-tracker-change-monitor.c b/src/photos-tracker-change-monitor.c
index d8da8af..1977f6a 100644
--- a/src/photos-tracker-change-monitor.c
+++ b/src/photos-tracker-change-monitor.c
@@ -85,7 +85,7 @@ struct _TrackerResourcesEvent
   gint32 subject;
   gint32 predicate;
   gint32 object;
-} __attribute__ ((packed));
+};
 
 
 static void


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