Branch: refs/heads/1.22_release Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sun, 08 Jul 2012 20:42:02 Commit: 0ade235521f02a434c412e0b3df4a5b0d1fbc57c https://github.com/geany/geany-plugins/commit/0ade235521f02a434c412e0b3df4a5...
Log Message: ----------- GeanyGenDoc: Fix a few harmless warnings for GCC to shut up
Modified Paths: -------------- geanygendoc/src/ggd.c
Modified: geanygendoc/src/ggd.c 10 files changed, 5 insertions(+), 5 deletions(-) =================================================================== @@ -340,7 +340,7 @@
comment = get_comment (ft, setting, doc, tag, &cursor_offset); if (comment) { - gint pos; + gint pos = 0;
switch (setting->position) { case GGD_POS_AFTER: @@ -518,8 +518,8 @@ gboolean success = FALSE; const TMTag *tag = NULL; GPtrArray *tag_array = NULL; - GgdFileType *filetype; - GgdDocType *doctype; + GgdFileType *filetype = NULL; + GgdDocType *doctype = NULL;
g_return_val_if_fail (DOC_VALID (doc), FALSE);
@@ -573,8 +573,8 @@ const gchar *doc_type) { gboolean success = FALSE; - GgdFileType *filetype; - GgdDocType *doctype; + GgdFileType *filetype = NULL; + GgdDocType *doctype = NULL;
g_return_val_if_fail (DOC_VALID (doc), FALSE);
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).