Skip to content

Commit

Permalink
Removed warning: control reaches end of non-void function
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanlieshout committed Aug 3, 2011
1 parent 8bcdefd commit 5c15e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/curb_easy.c
Expand Up @@ -3058,7 +3058,7 @@ static VALUE ruby_curl_easy_set_opt(VALUE self, VALUE opt, VALUE val) {
* Iniital access to libcurl curl_easy_getinfo, remember getinfo doesn't return the same values as setopt
*/
static VALUE ruby_curl_easy_get_opt(VALUE self, VALUE opt) {

return opt; // warning: control reaches end of non-void function
}

/*
Expand Down

0 comments on commit 5c15e6b

Please sign in to comment.