ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-468

avoid compile warning in send_auth_info()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.2.1, 3.3.0
    • Component/s: c client
    • Labels:
      None
    • Release Note:
      Fix minor compile warning in send_auth_info().

      Description

      Older compilers may complain that rc may be used without initialization in send_auth_info(), if -Wall is specified. The fix is a simple initialization.

      1. ZOOKEEPER-468.patch
        0.3 kB
        Chris Darroch

        Activity

        Hide
        Hudson added a comment -

        Integrated in ZooKeeper-trunk #393 (See http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/393/)

        Show
        Hudson added a comment - Integrated in ZooKeeper-trunk #393 (See http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/393/ )
        Hide
        Flavio Junqueira added a comment -

        Committed to 3.2 branch as well (revision 794765). Thanks for the reminder, Pat.

        Show
        Flavio Junqueira added a comment - Committed to 3.2 branch as well (revision 794765). Thanks for the reminder, Pat.
        Hide
        Patrick Hunt added a comment -

        afaict this was only committed to the trunk as:
        New Revision: 794704

        It should have been committed to both trunk and 3.2

        reopening so that it can be committed to the 3.2 branch

        Show
        Patrick Hunt added a comment - afaict this was only committed to the trunk as: New Revision: 794704 It should have been committed to both trunk and 3.2 reopening so that it can be committed to the 3.2 branch
        Hide
        Flavio Junqueira added a comment -

        I just committed this. Thanks, Chris.

        Show
        Flavio Junqueira added a comment - I just committed this. Thanks, Chris.

          People

          • Assignee:
            Chris Darroch
            Reporter:
            Chris Darroch
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development