Commit 54250b0f authored by Loic Hausammann's avatar Loic Hausammann
Browse files

Logger: remove useless function

parent 7bf8f5ee
...@@ -1045,8 +1045,6 @@ void logger_struct_dump(const struct logger_writer *log, FILE *stream) { ...@@ -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 * @brief Restore a logger struct from the given FILE as a stream of
* bytes. * bytes.
...@@ -1063,7 +1061,7 @@ void logger_struct_restore(struct logger_writer *log, FILE *stream) { ...@@ -1063,7 +1061,7 @@ void logger_struct_restore(struct logger_writer *log, FILE *stream) {
char logger_name_file[PARSER_MAX_LINE_SIZE]; char logger_name_file[PARSER_MAX_LINE_SIZE];
logger_get_dump_name(log, logger_name_file); 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 */ #endif /* WITH_LOGGER */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment