1045: fix "void function cannot return value" in formhist
commitc692bf82224eeef6002ca102b0e7631dea8ba863
authorFabio Bonelli <fabiobonelli@libero.it>
Fri, 29 Aug 2008 11:27:00 +0000 (29 13:27 +0200)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Mon, 15 Sep 2008 20:43:52 +0000 (15 23:43 +0300)
treed57bf2e953d210454c459bb1eced030085917dfd
parenta0d624cd615702d041387b29d00f5128c900e567
1045: fix "void function cannot return value" in formhist

never_for_this_site(form) did return remember_form(form).
In ELinks 0.11.0, both functions returned int, so this was OK.
In commit 2b7788614f102db37e76ac612c148c32c208b623 however, the
functions were changed to return void, as required by msg_box().
GCC still accepted the return statement but Sun Studio 11 did not.
src/formhist/formhist.c