[Kde-pim] Noisy parseholiday.c

Ian Neal iann_bugzilla at blueyonder.co.uk
Wed Jan 6 23:18:13 GMT 2010


  Hi all,

I've noticed that when using KHolidays that parseholiday.c is very noisy 
when using holiday files that have a "shift to" in. This comes from line 
1706 is parseholiday.c:
{ (yyval.ival) = ((yyvsp[(2) - (4)].ival)<<8) | (yyvsp[(4) - 
(4)].ival);printf("Shift to %i if %i\n", (yyvsp[(2) - (4)].ival), 
(yyvsp[(4) - (4)].ival)); ;}

Is the printf still needed? Cannot it be changed into something that 
only makes a noise when debugging is required or something?

TIA,

Ian

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list