You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "David Reiss (JIRA)" <ji...@apache.org> on 2009/02/25 04:17:01 UTC
[jira] Resolved: (THRIFT-348) Compiler warning: readBool not
returning a value
[ https://issues.apache.org/jira/browse/THRIFT-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Reiss resolved THRIFT-348.
--------------------------------
Resolution: Fixed
> Compiler warning: readBool not returning a value
> ------------------------------------------------
>
> Key: THRIFT-348
> URL: https://issues.apache.org/jira/browse/THRIFT-348
> Project: Thrift
> Issue Type: Bug
> Components: Library (C++)
> Reporter: Luke Lu
> Assignee: David Reiss
> Priority: Minor
>
> /usr/local/include/thrift/protocol/TProtocol.h: In member function 'uint32_t apache::thrift::protocol::TProtocol::readBool(std::_Bit_reference)':
> /usr/local/include/thrift/protocol/TProtocol.h:218: warning: unused variable 'rv'
> /usr/local/include/thrift/protocol/TProtocol.h:220: warning: no return statement in function returning non-void
> The fix is trivial: add "return rv;' to the end of the function.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.