Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove print_Null function
authorTakishipp <toufik.boubehziz@gmail.com>
Tue, 11 Jul 2017 15:03:14 +0000 (17:03 +0200)
committerTakishipp <toufik.boubehziz@gmail.com>
Tue, 11 Jul 2017 15:03:14 +0000 (17:03 +0200)
src/instr/instr_paje_trace.cpp
src/instr/instr_private.h

index 8c1aa94..6773824 100644 (file)
@@ -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<PajeEvent*> buffer;
 void buffer_debug(std::vector<PajeEvent*> *buf);
index 658663e..fbff688 100644 (file)
@@ -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);