systemd: add an initializer

Fixes build with exceptions enabled.
This commit is contained in:
Lubomir Rintel 2015-11-24 16:31:18 +01:00
parent 495faa3191
commit 960127422d

View file

@ -1066,7 +1066,7 @@ int fflush_and_check(FILE *f) {
/* This is much like like mkostemp() but is subject to umask(). */
int mkostemp_safe(char *pattern, int flags) {
_cleanup_umask_ mode_t u;
_cleanup_umask_ mode_t u = 0;
int fd;
assert(pattern);