You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Randy Abernethy (JIRA)" <ji...@apache.org> on 2013/05/06 00:38:15 UTC

[jira] [Updated] (THRIFT-1960) main() declares 22 unused gen bools

     [ https://issues.apache.org/jira/browse/THRIFT-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randy Abernethy updated THRIFT-1960:
------------------------------------

    Attachment: 0001-removed-unused-gen-bools-in-compiler-main.patch

patch
                
> main() declares 22 unused gen bools
> -----------------------------------
>
>                 Key: THRIFT-1960
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1960
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (General)
>    Affects Versions: 1.0
>         Environment: ...
>            Reporter: Randy Abernethy
>            Priority: Trivial
>              Labels: gen_cocoa, gen_cpp, gen_csharp, gen_delphi, gen_dense, gen_erl, gen_hs, gen_java, gen_javabean, gen_ocaml, gen_perl, gen_php, gen_phpa, gen_phpi, gen_phpo, gen_phps, gen_py, gen_py_newstyle, gen_rb, gen_rest, gen_st, gen_xsd
>             Fix For: 1.0
>
>         Attachments: 0001-removed-unused-gen-bools-in-compiler-main.patch
>
>
> In main.cc main() declares 22 unused gen bools, 52 lines of code parse the cl and set these bools but they are never read. The gen targets have been captured by generator_strings since 2008. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira