Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Wed, 04 Mar 2015 15:39:36 UTC Commit: 709cbd512b26ce42134dcf9460f7ed570eb5afac https://github.com/geany/geany/commit/709cbd512b26ce42134dcf9460f7ed570eb5af...
Log Message: ----------- Explicitly initialize some variables for which we use the default value
This does not change anything in practice because static variables are initialized implicitly as we need them anyway, but this makes things clearer and more explicit.
Modified Paths: -------------- src/highlighting.c
Modified: src/highlighting.c 4 lines changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -58,7 +58,7 @@ #define GEANY_WHITESPACE_CHARS " \t" "!"#$%&'()*+,-./:;<=>?@[\]^`{|}~"
-static gchar *whitespace_chars; +static gchar *whitespace_chars = NULL;
typedef struct @@ -112,7 +112,7 @@ static struct gint fold_draw_line;
gchar *wordchars; -} common_style_set; +} common_style_set = { { { 0 } }, 0, 0, 0, NULL };
/* For filetypes.common [named_styles] section.
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).