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:
Tor Arne Vestbø
2013-02-07 22:45:26 +01:00
parent e3bc65fa6d
commit c89da71957

View File

@@ -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);