Skip to content

Commit

Permalink
Fix Windows build error in gnc_html_webkit1.c
Browse files Browse the repository at this point in the history
load_to_stream requires a return value for the Pre-condition Assertion
  • Loading branch information
Bob-IT committed Sep 3, 2024
1 parent 616ebf0 commit 4f0862b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnucash/html/gnc-html-webkit1.c
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ load_to_stream( GncHtmlWebkit* self, URLType type,
DEBUG( "type %s, location %s, label %s", type ? type : "(null)",
location ? location : "(null)", label ? label : "(null)");

g_return_if_fail( self != NULL );
g_return_val_if_fail( self != NULL, FALSE );

if ( gnc_html_stream_handlers != NULL )
{
Expand Down

0 comments on commit 4f0862b

Please sign in to comment.