gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r19099 - gnunet-gtk/src/fs


From: gnunet
Subject: [GNUnet-SVN] r19099 - gnunet-gtk/src/fs
Date: Thu, 12 Jan 2012 09:33:45 +0100

Author: grothoff
Date: 2012-01-12 09:33:45 +0100 (Thu, 12 Jan 2012)
New Revision: 19099

Modified:
   gnunet-gtk/src/fs/gnunet-fs-gtk-main_window_file_publish.c
Log:
-fixing compiler warnings

Modified: gnunet-gtk/src/fs/gnunet-fs-gtk-main_window_file_publish.c
===================================================================
--- gnunet-gtk/src/fs/gnunet-fs-gtk-main_window_file_publish.c  2012-01-11 
23:16:37 UTC (rev 19098)
+++ gnunet-gtk/src/fs/gnunet-fs-gtk-main_window_file_publish.c  2012-01-12 
08:33:45 UTC (rev 19099)
@@ -634,6 +634,7 @@
 }
 
 
+#if DEAD_CODE
 /**
  * Function called by the directory iterator to
  * (recursively) add all of the files in the
@@ -657,6 +658,7 @@
   GNUNET_free (pd);
   return GNUNET_OK;
 }
+#endif
 
 
 /**
@@ -726,6 +728,7 @@
 }
 
 
+#if DEAD_CODE
 /**
  * Function called by the directory iterator to
  * (recursively) add all of the files in the
@@ -818,7 +821,9 @@
   }
   return GNUNET_OK;
 }
+#endif
 
+
 static void
 add_dir_callback (void *cls, struct GNUNET_DISK_DirectoryIterator * di,
     const char *filename, const char *dirname);
@@ -1411,8 +1416,7 @@
                                        gint ret)
 {
   struct EditPublishContext *cbargs = cls;
-  struct GNUNET_FileInformation *fi;
-  const char *filename;
+  struct GNUNET_FS_FileInformation *fi;
 
   GNUNET_assert (NULL == root);
   if (ret == GTK_RESPONSE_OK)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]