From: Takishipp Date: Tue, 11 Jul 2017 15:03:14 +0000 (+0200) Subject: remove print_Null function X-Git-Tag: v3_17~408^2^2~1 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/62bd5986b2a76f8bc3328296e8b425f1c03ae0b6 remove print_Null function --- diff --git a/src/instr/instr_paje_trace.cpp b/src/instr/instr_paje_trace.cpp index 8c1aa9474b..6773824574 100644 --- a/src/instr/instr_paje_trace.cpp +++ b/src/instr/instr_paje_trace.cpp @@ -28,10 +28,8 @@ static xbt_dict_t tracing_files = nullptr; // TI specific static double prefix=0.0; // TI specific -void print_NULL(PajeEvent* event){} - /* The active set of functions for the selected trace format - * By default, they all do nothing, hence the print_NULL to avoid segfaults */ + * By default, they all do nothing */ std::vector buffer; void buffer_debug(std::vector *buf); diff --git a/src/instr/instr_private.h b/src/instr/instr_private.h index 658663e469..fbff688bca 100644 --- a/src/instr/instr_private.h +++ b/src/instr/instr_private.h @@ -359,7 +359,6 @@ XBT_PRIVATE void PJ_value_free (val_t value); XBT_PRIVATE void TRACE_TI_start(); XBT_PRIVATE void TRACE_TI_end(); -XBT_PRIVATE void print_NULL (PajeEvent* event); XBT_PRIVATE void TRACE_paje_dump_buffer (int force); XBT_PRIVATE void dump_comment_file (const char *filename); XBT_PRIVATE void dump_comment (const char *comment);