Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
54250b0f
Commit
54250b0f
authored
Jan 10, 2020
by
Loic Hausammann
Browse files
Logger: remove useless function
parent
7bf8f5ee
Changes
1
Show whitespace changes
Inline
Side-by-side
src/logger.c
View file @
54250b0f
...
...
@@ -1045,8 +1045,6 @@ void logger_struct_dump(const struct logger_writer *log, FILE *stream) {
}
// TODO remove that
void
dump_restart
(
struct
dump
*
dump
,
char
*
log_name
,
int
size
)
{}
/**
* @brief Restore a logger struct from the given FILE as a stream of
* bytes.
...
...
@@ -1063,7 +1061,7 @@ void logger_struct_restore(struct logger_writer *log, FILE *stream) {
char
logger_name_file
[
PARSER_MAX_LINE_SIZE
];
logger_get_dump_name
(
log
,
logger_name_file
);
dump_restart
(
&
log
->
dump
,
logger_name_file
,
log
->
dump
.
size
);
dump_restart
(
&
log
->
dump
,
logger_name_file
);
}
#endif
/* WITH_LOGGER */
...
...
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