Skip to content

Commit

Permalink
ProjectOrganizer: Initialise "is_header" variable
Browse files Browse the repository at this point in the history
Older cppcheck versions (e.g. 1.90) complain about this
while newer versions (e.g. 2.10) do not.
  • Loading branch information
eht16 committed May 22, 2023
1 parent 1c64b32 commit 6e697f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projectorganizer/src/prjorg-utils.c
Expand Up @@ -294,7 +294,7 @@ gchar *find_header_source(GeanyDocument *doc)
{
GSList *header_patterns, *source_patterns;
gboolean known_type = TRUE;
gboolean is_header;
gboolean is_header = FALSE;
gchar *found_name = NULL;

if (!doc || !doc->file_name)
Expand Down

0 comments on commit 6e697f2

Please sign in to comment.