Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Sonar doesn't like #undef.
[simgrid.git] / src / xbt / log.c
index ce083fb..85e102b 100644 (file)
@@ -336,7 +336,7 @@ void xbt_log_postexit(void)
   log_cat_exit(&_XBT_LOGV(XBT_LOG_ROOT_CAT));
 }
 
- /* Size of the static string in which we  build the log string */
+/* Size of the static string in which we build the log string */
 #define XBT_LOG_STATIC_BUFFER_SIZE 2048
 /* Minimum size of the dynamic string in which we build the log string
    (should be greater than XBT_LOG_STATIC_BUFFER_SIZE) */
@@ -391,9 +391,6 @@ void _xbt_log_event_log(xbt_log_event_t ev, const char *fmt, ...)
   }
 }
 
-#undef XBT_LOG_DYNAMIC_BUFFER_SIZE
-#undef XBT_LOG_STATIC_BUFFER_SIZE
-
 /* NOTE:
  *
  * The standard logging macros use _XBT_LOG_ISENABLED, which calls _xbt_log_cat_init().  Thus, if we want to avoid an