diff options
author | smitsohu <smitsohu@gmail.com> | 2019-01-20 19:07:43 +0100 |
---|---|---|
committer | smitsohu <smitsohu@gmail.com> | 2019-01-20 19:07:43 +0100 |
commit | a26a25db063bcf174dc5c01688b7fd04228a77d8 (patch) | |
tree | 354193c96efac1aae82d96fb0f8f86d0e6376f07 /src/firejail/fs_whitelist.c | |
parent | disallow zero seconds timeout (diff) | |
download | firejail-a26a25db063bcf174dc5c01688b7fd04228a77d8.tar.gz firejail-a26a25db063bcf174dc5c01688b7fd04228a77d8.tar.zst firejail-a26a25db063bcf174dc5c01688b7fd04228a77d8.zip |
cleanup, minor improvements
Diffstat (limited to 'src/firejail/fs_whitelist.c')
-rw-r--r-- | src/firejail/fs_whitelist.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/firejail/fs_whitelist.c b/src/firejail/fs_whitelist.c index 829636b9c..74b9449be 100644 --- a/src/firejail/fs_whitelist.c +++ b/src/firejail/fs_whitelist.c | |||
@@ -119,7 +119,6 @@ static int mkpath(const char* path, mode_t mode) { | |||
119 | static void whitelist_path(ProfileEntry *entry) { | 119 | static void whitelist_path(ProfileEntry *entry) { |
120 | assert(entry); | 120 | assert(entry); |
121 | const char *path = entry->data + 10; | 121 | const char *path = entry->data + 10; |
122 | assert(path); | ||
123 | const char *fname; | 122 | const char *fname; |
124 | char *wfile = NULL; | 123 | char *wfile = NULL; |
125 | 124 | ||