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

non void function should return value. #19

Closed
kwm81 opened this issue Apr 11, 2014 · 1 comment
Closed

non void function should return value. #19

kwm81 opened this issue Apr 11, 2014 · 1 comment
Assignees
Labels
Milestone

Comments

@kwm81
Copy link

kwm81 commented Apr 11, 2014

json_api_mapper.c:58: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:96:3: error: non-void function 'json_api_get_bool' should return a value [-Wreturn-type]
return;
^
3 errors generated.

Changing it to "return NULL;" does make liferea compile.

@lwindolf
Copy link
Owner

This was already fixed in git master. Is now fixed in 1.10 branch too and will be included in 1.10.9 release. Thanks for reporting!

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

No branches or pull requests

2 participants