Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge pull request #197 from Takishipp/clear_fct
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Wed, 12 Jul 2017 11:51:41 +0000 (13:51 +0200)
committerGitHub <noreply@github.com>
Wed, 12 Jul 2017 11:51:41 +0000 (13:51 +0200)
remove print_Null function

src/instr/instr_paje_trace.cpp
src/instr/instr_private.h

index 8c1aa94..a9761ba 100644 (file)
@@ -27,12 +27,6 @@ FILE *tracing_file = nullptr;
 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 */
-
 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);