[CWB] [PATCH] fixing some uninitialized variables warnings

Stefan Evert stefanML at collocations.de
Tue Nov 9 00:04:27 CET 2010


> Sometimes the error function issue some warnings on uninitialized values being concatenated in a string.
> 
> This patch fixes them. Let me know when/if it gets applied to the SVN tree.

Not applied.  The actual bug was something else (a line of code left over from previous versions of CQP.pm) that I have now fixed in the SVN.

Thanks for the bug report!

Stefan

PS: Can you imagine how disconcerting it is to realise that somehow, magically, @_ turns from a CQP error message into a list of undefs from one line of Perl code to the next ... even if these lines don't touch @_ at all?


More information about the CWB mailing list