[Github-comments] [geany] Store "equal" tags into binary trees instead of lists in Symbol tree (#797)

Colomban Wendling notifications at xxxxx
Tue Dec 22 17:15:46 UTC 2015


>  
> +		g_tree_search(tree, (GCompareFunc)tree_search_func, &user_data);
> +		list = g_tree_lookup(tree, GINT_TO_POINTER(user_data.found_line));

of `if (user_data.found_line >= 0)` if returned value might be 0 because line=0 would lead to NULL

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/797/files#r48275304
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151222/e9346782/attachment.html>


More information about the Github-comments mailing list