- Add liblog LOG_TRACE compile flag support.

This commit is contained in:
Arnaud G. GIBERT 2024-05-06 19:13:17 +02:00
parent 2417b2829e
commit 8b5c809d22
2 changed files with 10 additions and 2 deletions

View File

@ -84,3 +84,11 @@ endif
ifeq ($(OPTIM), Y) ifeq ($(OPTIM), Y)
CFLAGS += -O3 CFLAGS += -O3
endif endif
ifeq ($(LOG_TRACE), YES)
CFLAGS += -D_LOG_TRACE
endif
ifeq ($(LOG_TRACE), Y)
CFLAGS += -D_LOG_TRACE
endif

View File

@ -4226,14 +4226,14 @@ NDT_Node *ND_List_Node_Find( NDT_Root *Root_Ptr, NDT_Index_Id Index_Id, void
{ {
case NDS_EQUAL: case NDS_EQUAL:
{ {
return(node_ptr); return( node_ptr);
} }
case NDS_LOWER: case NDS_LOWER:
{ {
/* Ce n'est pas a peine de continuer car on a déjà dépassé la valeur recherchée */ /* Ce n'est pas a peine de continuer car on a déjà dépassé la valeur recherchée */
return(NULL); return( NULL);
} }
case NDS_GREATER: case NDS_GREATER: