-
Notifications
You must be signed in to change notification settings - Fork 130
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
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: