projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8377c3
)
main: Remove unused variable old_umask
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 27 May 2011 17:35:08 +0000
(10:35 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 27 May 2011 17:36:14 +0000
(10:36 -0700)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
1e87ac2
..
1162167
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-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(0
077);
main_loop = g_main_loop_new(NULL, FALSE);