Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

return value for non-void functions in src/fl_sources/json_api_mapper.c #4

Closed
kwm81 opened this issue Dec 3, 2013 · 2 comments
Closed

Comments

@kwm81
Copy link

kwm81 commented Dec 3, 2013

Non-void functions should return a value.

gmake[3]: Entering directory `net/liferea/work/liferea-1.10.3/src/fl_sources'
CC libliflsources_a-json_api_mapper.o
json_api_mapper.c:59:3: error: non-void function 'json_api_get_string' should
return a value [-Wreturn-type]
return;
^
json_api_mapper.c:77:3: error: non-void function 'json_api_get_int' should
return a value [-Wreturn-type]
return;
^
json_api_mapper.c:95:3: error: non-void function 'json_api_get_bool' should
return a value [-Wreturn-type]
return;
^
3 errors generated.
gmake[3]: *** [libliflsources_a-json_api_mapper.o] Error 1

@lwindolf
Copy link
Owner

lwindolf commented Dec 4, 2013

Thanks for the hint. Will fix it soon.

@lwindolf
Copy link
Owner

Fixed in 3b16768

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants