glib r7690 - trunk/gio
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7690 - trunk/gio
- Date: Fri, 28 Nov 2008 07:02:57 +0000 (UTC)
Author: matthiasc
Date: Fri Nov 28 07:02:57 2008
New Revision: 7690
URL: http://svn.gnome.org/viewvc/glib?rev=7690&view=rev
Log:
Avoid unused variables
Modified:
trunk/gio/ChangeLog
trunk/gio/glocalvfs.c
Modified: trunk/gio/glocalvfs.c
==============================================================================
--- trunk/gio/glocalvfs.c (original)
+++ trunk/gio/glocalvfs.c Fri Nov 28 07:02:57 2008
@@ -115,11 +115,13 @@
{
GFile *file;
char *filename;
- char *user_name;
char *user_prefix;
const char *user_start, *user_end;
char *rest;
+#ifdef HAVE_PWD_H
struct passwd *passwd_file_entry;
+ char *user_name;
+#endif
g_return_val_if_fail (G_IS_VFS (vfs), NULL);
g_return_val_if_fail (parse_name != NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]