[ 
https://issues.apache.org/jira/browse/THRIFT-2372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13909180#comment-13909180
 ] 

Jake Farrell commented on THRIFT-2372:
--------------------------------------

Was testing the vagrant image and got this error, what I committed fixed the 
issue for me within the test vm

root@vagrant-ubuntu-precise-64:/thrift# go version
go version go1

{code}
Making all in go
make[3]: Entering directory `/thrift/lib/go'
Making all in test
make[4]: Entering directory `/thrift/lib/go/test'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/thrift/lib/go/test'
make[4]: Entering directory `/thrift/lib/go'
/usr/bin/go test ./thrift
# _/thrift/lib/go/thrift
thrift/json_protocol.go:160: function ends without a return statement
FAIL    _/thrift/lib/go/thrift [build failed]
make[4]: *** [check-local] Error 2
make[4]: Leaving directory `/thrift/lib/go'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/thrift/lib/go'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/thrift/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/thrift'
make: *** [all] Error 2
{code}

> thrift/json_protocol.go:160: function ends without a return statement
> ---------------------------------------------------------------------
>
>                 Key: THRIFT-2372
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2372
>             Project: Thrift
>          Issue Type: Bug
>          Components: Go - Library
>    Affects Versions: 0.9.2
>            Reporter: Jake Farrell
>            Assignee: Jake Farrell
>             Fix For: 0.9.2
>
>
> missing return statement at end of function (in if/else block)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to