mirror of
https://github.com/torarnv/sparsebundlefs.git
synced 2026-03-03 18:28:07 +01:00
Prevent FUSE macro (FUSE_OPT_END) from adding designated initializer
It's a C99 feature and might break pedantic builds.
This commit is contained in:
@@ -387,7 +387,8 @@ int main(int argc, char **argv)
|
||||
struct sparsebundle_data data = {};
|
||||
|
||||
static struct fuse_opt sparsebundle_options[] = {
|
||||
FUSE_OPT_KEY("-D", SPARSEBUNDLE_OPT_DEBUG), FUSE_OPT_END
|
||||
FUSE_OPT_KEY("-D", SPARSEBUNDLE_OPT_DEBUG),
|
||||
{ 0, 0, 0 } // End of options
|
||||
};
|
||||
|
||||
struct fuse_args args = FUSE_ARGS_INIT(argc, argv);
|
||||
|
||||
Reference in New Issue
Block a user