[Geany-Devel] Gaeny-plugins: Some minor changes to silence warnings

Lex Trotman elextr at xxxxx
Sun Feb 17 03:09:16 UTC 2013


Attached is a patch containing a few obvious fixes for warnings in the
plugins, mostly adding consts, gpointer casts and unsigned int loop
counters.

The only one that is likely to have been bad (tm) is in treebrowser.c
it g_freed a static string.  Setting the string const found that.

treebrowser.c still has warnings about two unused variables, since in
each case some work is done to set them, the treebrowser maintainer
should look and see if they are meant to be used somewhere, or remove
them and the setting code.

Cheers
Lex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warnings.patch
Type: application/octet-stream
Size: 9211 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20130217/2e3fe408/attachment.obj>


More information about the Devel mailing list