Branch: refs/heads/encodings-fixes Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Fri, 08 Dec 2023 20:43:56 UTC Commit: 187e04624ff04105199ee0a405d21de754836d3c https://github.com/geany/geany/commit/187e04624ff04105199ee0a405d21de754836d...
Log Message: ----------- Remove unused code
Modified Paths: -------------- src/encodings.c
Modified: src/encodings.c 4 lines changed, 0 insertions(+), 4 deletions(-) =================================================================== @@ -427,7 +427,6 @@ void encodings_init(void) { GtkWidget *menu[2]; GCallback cb_func[2]; - gint group_sizes[GEANY_ENCODING_GROUPS_MAX] = { 0 }; const gchar *const groups[GEANY_ENCODING_GROUPS_MAX] = { [NONE] = NULL, @@ -447,9 +446,6 @@ void encodings_init(void) cb_func[0] = G_CALLBACK(encodings_radio_item_change_cb); cb_func[1] = G_CALLBACK(encodings_reload_radio_item_change_cb);
- for (guint i = 0; i < G_N_ELEMENTS(encodings); i++) - group_sizes[encodings[i].group]++; - for (guint k = 0; k < 2; k++) { GSList *group = NULL;
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).