diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2011-05-27 10:35:08 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-05-27 10:36:14 -0700 |
commit | 6fc9f376c54ef95efe2890e5e0ec6c11d0822ce0 (patch) | |
tree | 248e8b2da5b55eec33729d5967e3ced264347dba /src/main.c | |
parent | d8377c3d2b4df365131d379e06a7c3dfef081b69 (diff) | |
download | connman-6fc9f376c54ef95efe2890e5e0ec6c11d0822ce0.tar.gz connman-6fc9f376c54ef95efe2890e5e0ec6c11d0822ce0.tar.bz2 connman-6fc9f376c54ef95efe2890e5e0ec6c11d0822ce0.zip |
main: Remove unused variable old_umask
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -175,7 +175,6 @@ int main(int argc, char *argv[]) DBusConnection *conn; DBusError err; struct sigaction sa; - mode_t old_umask; GKeyFile *config; #ifdef HAVE_CAPNG @@ -231,7 +230,7 @@ int main(int argc, char *argv[]) perror("Failed to create statistics directory"); } - old_umask = umask(077); + umask(0077); main_loop = g_main_loop_new(NULL, FALSE); |