mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug #539962: Remove return value from some void functions.
Patch from Halton Huo. BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17496 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
64720faaa1
commit
10f0a34355
@ -257,7 +257,10 @@ gnc_xfer_dialog_set_price_auto (XferDialog *xferData,
|
||||
|
||||
if (!gnc_is_euro_currency (from_currency) ||
|
||||
!gnc_is_euro_currency (to_currency))
|
||||
return gnc_xfer_dialog_update_price (xferData);
|
||||
{
|
||||
gnc_xfer_dialog_update_price (xferData);
|
||||
return;
|
||||
}
|
||||
|
||||
from_rate = gnc_euro_currency_get_rate (from_currency);
|
||||
to_rate = gnc_euro_currency_get_rate (to_currency);
|
||||
|
@ -138,5 +138,5 @@ gnc_dense_cal_model_get_instance_count(GncDenseCalModel *model, guint tag)
|
||||
void
|
||||
gnc_dense_cal_model_get_instance(GncDenseCalModel *model, guint tag, gint instance_index, GDate *date)
|
||||
{
|
||||
return (*GNC_DENSE_CAL_MODEL_GET_INTERFACE(model)->get_instance)(model, tag, instance_index, date);
|
||||
(*GNC_DENSE_CAL_MODEL_GET_INTERFACE(model)->get_instance)(model, tag, instance_index, date);
|
||||
}
|
||||
|
@ -539,7 +539,7 @@ _gnc_dense_cal_set_month(GncDenseCal *dcal, GDateMonth mon, gboolean redraw)
|
||||
void
|
||||
gnc_dense_cal_set_year(GncDenseCal *dcal, guint year)
|
||||
{
|
||||
return _gnc_dense_cal_set_year(dcal, year, TRUE);
|
||||
_gnc_dense_cal_set_year(dcal, year, TRUE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -177,7 +177,7 @@ gnc_plugin_page_destroy_widget (GncPluginPage *plugin_page)
|
||||
g_return_if_fail (klass != NULL);
|
||||
g_return_if_fail (klass->destroy_widget != NULL);
|
||||
|
||||
return klass->destroy_widget (plugin_page);
|
||||
klass->destroy_widget (plugin_page);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user