mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix warnings: missing sentinel in function calls
When compiling with -Werror, GNUCash fails to build due to various error: missing sentinel in function call. This patch resolves the issue by passing nullptr instead of C-style casting NULL.
This commit is contained in:
@@ -127,7 +127,7 @@ concatenate_child_result_chars (GSList* data_from_children)
|
||||
else
|
||||
{
|
||||
char* temp;
|
||||
temp = g_strconcat (name, (gchar*) cr->data, NULL);
|
||||
temp = g_strconcat (name, (gchar*) cr->data, nullptr);
|
||||
g_free (name);
|
||||
name = temp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user