Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2037

More general macro THRIFT_UNUSED_VARIABLE

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.9.2
    • C++ - Library
    • None
    • Patch Available

    Description

      (x)=(x)

      cannot be used everywhere (ex. for consts)

      ((void)x)

      is generally supported way to suppress "unused parameter" warning

      Attachments

        1. thrift-2037-more_general_macro.patch
          0.4 kB
          Konrad Grochowski

        Activity

          People

            ben.craig Ben Craig
            hcorg Konrad Grochowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: