Fixed building in debugging mode

This commit is contained in:
Pierre Pronchery 2013-10-27 19:35:44 +01:00
parent 918562fe3e
commit 2f08159faf

View File

@ -266,7 +266,8 @@ static void _profiles_settings(Profiles * profiles)
size_t i; size_t i;
#ifdef DEBUG #ifdef DEBUG
fprintf(stderr, "DEBUG: %s(\"%s\")\n", __func__, profiles->name); fprintf(stderr, "DEBUG: %s(\"%s\")\n", __func__,
profiles->profiles[profiles->profiles_cur].name);
#endif #endif
if(profiles->pr_window != NULL) if(profiles->pr_window != NULL)
{ {
@ -427,6 +428,10 @@ static void _profiles_play(Profiles * profiles, char const * sample,
profiles->profiles_cur]; profiles->profiles_cur];
PhoneEvent event; PhoneEvent event;
#ifdef DEBUG
fprintf(stderr, "DEBUG: %s(\"%s\") %s\n", __func__, sample,
definition->name);
#endif
if(sample == NULL) if(sample == NULL)
{ {
/* cancel the current sample */ /* cancel the current sample */