diff options
author | Alexander Larsson <alexl@redhat.com> | 2008-02-19 09:41:06 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2008-02-19 09:41:06 +0000 |
commit | b64547deb808046b8bac687242ab777c0bf0d73a (patch) | |
tree | 3c7b9cb07e93beabc2f2efbe879ee279a525c449 /daemon/main.c | |
parent | 31a620e564b9edb751c19c71193ca73123faddb4 (diff) | |
download | gvfs-b64547deb808046b8bac687242ab777c0bf0d73a.tar.gz |
Code cleanup from Kjartan: Removes unused code/variables. Uses right
2008-02-19 Alexander Larsson <alexl@redhat.com>
* lots of *.c files:
Code cleanup from Kjartan:
Removes unused code/variables.
Uses right printf types
Uses non-deprecated dbus calls.
Removes spurious ; and ,
deleted extra checks for NULL for g_free
svn path=/trunk/; revision=1302
Diffstat (limited to 'daemon/main.c')
-rw-r--r-- | daemon/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/daemon/main.c b/daemon/main.c index c48fbd74..ebfe9d19 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -97,19 +97,19 @@ main (int argc, char *argv[]) if (!no_fuse) { char *fuse_path; - char *argv[3]; + char *argv2[3]; fuse_path = g_build_filename (g_get_home_dir (), ".gvfs", NULL); if (!g_file_test (fuse_path, G_FILE_TEST_EXISTS)) g_mkdir (fuse_path, 0700); - argv[0] = LIBEXEC_DIR "/gvfs-fuse-daemon"; - argv[1] = fuse_path; - argv[2] = NULL; + argv2[0] = LIBEXEC_DIR "/gvfs-fuse-daemon"; + argv2[1] = fuse_path; + argv2[2] = NULL; g_spawn_async (NULL, - argv, + argv2, NULL, G_SPAWN_STDOUT_TO_DEV_NULL | G_SPAWN_STDERR_TO_DEV_NULL, |