Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
bake
Commits
6f297c18
Commit
6f297c18
authored
May 21, 2020
by
Matthieu Dorier
Browse files
corrected issue when building bake without remi
parent
435658f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bake-file-backend.c
View file @
6f297c18
...
...
@@ -578,10 +578,10 @@ static int bake_file_set_conf(backend_context_t context,
return
0
;
}
#ifdef USE_REMI
static
int
bake_file_create_fileset
(
backend_context_t
context
,
remi_fileset_t
*
fileset
)
{
#ifdef USE_REMI
bake_file_entry_t
*
entry
=
(
bake_file_entry_t
*
)
context
;
int
ret
;
/* create a fileset */
...
...
@@ -604,10 +604,8 @@ error:
remi_fileset_free
(
*
fileset
);
*
fileset
=
NULL
;
goto
finish
;
#else
return
BAKE_ERR_OP_UNSUPPORTED
;
#endif
}
#endif
bake_backend
g_bake_file_backend
=
{
.
name
=
"file"
,
...
...
@@ -625,7 +623,9 @@ bake_backend g_bake_file_backend = {
.
_get_region_data
=
bake_file_get_region_data
,
.
_remove
=
bake_file_remove
,
.
_migrate_region
=
bake_file_migrate_region
,
#ifdef USE_REMI
.
_create_fileset
=
bake_file_create_fileset
,
#endif
.
_set_conf
=
bake_file_set_conf
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment