Skip to content

Conversation

@bbhtt
Copy link
Contributor

@bbhtt bbhtt commented Sep 23, 2025

Fixes 7a710f6

In file included from /usr/include/glib-2.0/glib.h:117,
                 from /usr/include/glib-2.0/glib/gi18n.h:23,
                 from ../src/builder-manifest.c:31:
In function ‘g_autoptr_cleanup_generic_gfree’,
    inlined from ‘_rename_icon’ at ../src/builder-manifest.c:2346:28:
/usr/include/glib-2.0/glib/glib-autocleanups.h:32:3: warning: ‘new_name’ may be used uninitialized [-Wmaybe-uninitialized]
   32 |   g_free (*pp);
      |   ^~~~~~~~~~~~
../src/builder-manifest.c: In function ‘_rename_icon’:
../src/builder-manifest.c:2346:28: note: ‘new_name’ was declared here
 2346 |           g_autofree char *new_name;
      |                            ^~~~~~~~

Fixes 7a710f6

```
In file included from /usr/include/glib-2.0/glib.h:117,
                 from /usr/include/glib-2.0/glib/gi18n.h:23,
                 from ../src/builder-manifest.c:31:
In function ‘g_autoptr_cleanup_generic_gfree’,
    inlined from ‘_rename_icon’ at ../src/builder-manifest.c:2346:28:
/usr/include/glib-2.0/glib/glib-autocleanups.h:32:3: warning: ‘new_name’ may be used uninitialized [-Wmaybe-uninitialized]
   32 |   g_free (*pp);
      |   ^~~~~~~~~~~~
../src/builder-manifest.c: In function ‘_rename_icon’:
../src/builder-manifest.c:2346:28: note: ‘new_name’ was declared here
 2346 |           g_autofree char *new_name;
      |                            ^~~~~~~~
```
@bbhtt bbhtt merged commit 29df15f into main Sep 29, 2025
11 of 13 checks passed
@bbhtt bbhtt deleted the bbhtt/fix-uninit branch September 29, 2025 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants