(Don't use dummy code to hide these warnings)
/*****************************************************************************
* Local prototypes
*****************************************************************************/
+#ifdef HISTORY_DEBUG
static void history_Dump( history_t *p_history );
+#endif
/*****************************************************************************
* Local structure lock
return NULL;
}
-#ifndef HISTORY_DEBUG
- /* make dummy reference to history_Dump to avoid compiler warnings */
- while (0)
- {
- void *p_tmp;
-
- p_tmp = history_Dump;
- }
-#endif
-
return p_new_history;
}
return true;
}
+#ifdef HISTORY_DEBUG
static void history_Dump( history_t *p_history )
{
unsigned int i_count;
}
}
}
+#endif
bool history_GoForwardSavingCurrentItem ( history_t *p_history,
history_item_t *p_item )