Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/qtest: variable defined by g_autofree need to be initialized
According to the glib function requirements, we need initialise the variable. Otherwise there will be compilation warnings: glib-autocleanups.h:28:3: warning: ‘full_name’ may be used uninitialized in this function [-Wmaybe-uninitialized] 28 | g_free (*pp); | ^~~~~~~~~~~~ Reported-by: Euler Robot <[email protected]> Signed-off-by: Chen Qun <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Reviewed-by: Havard Skinnemoen <[email protected]> Message-Id: <[email protected]> Signed-off-by: Thomas Huth <[email protected]>
- Loading branch information