[Kde-pim] Noisy parseholiday.c

Allen Winter winter at kde.org
Fri Jan 8 21:21:46 GMT 2010


On Wednesday 06 January 2010 6:18:13 pm Ian Neal wrote:
>   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?
> 
I'll take care of removing that printf.
_______________________________________________
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