seahorse r2185 - plugins/trunk/libseahorse



Author: nnielsen
Date: Thu Apr 17 23:42:10 2008
New Revision: 2185
URL: http://svn.gnome.org/viewvc/seahorse?rev=2185&view=rev

Log:
Fix compiler warnings


Modified:
   plugins/trunk/libseahorse/seahorse-notification.c

Modified: plugins/trunk/libseahorse/seahorse-notification.c
==============================================================================
--- plugins/trunk/libseahorse/seahorse-notification.c	(original)
+++ plugins/trunk/libseahorse/seahorse-notification.c	Thu Apr 17 23:42:10 2008
@@ -578,9 +578,7 @@
     else {
         body = g_strdup_printf(ngettext("Imported a key for", "Imported keys for", keynum));
         
-        keyptr = keys;
-        
-        for (keyptr; *keyptr; keyptr++) {
+        for (keyptr = keys; *keyptr; keyptr++) {
             t = g_strdup_printf ("%s\n<key id='%s' field=\"display-name\"/>", body, *keyptr);
             g_free (body);
             body = t;
@@ -608,8 +606,6 @@
     const gchar *icon = NULL;
     gchar *title, *body;
     gboolean sig = FALSE;
-    GSList *rawids;
-    GList *keys;
     
     /* Figure out what to display */
     switch (gpgme_err_code (status->signatures->status))  {



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