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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        1m 6s 1 Chris Darroch 14/Jul/09 18:45
        Patch Available Patch Available Resolved Resolved
        1d 21h 14m 1 Flavio Junqueira 16/Jul/09 15:59
        Resolved Resolved Reopened Reopened
        2h 31m 1 Patrick Hunt 16/Jul/09 18:30
        Reopened Reopened Resolved Resolved
        11m 30s 1 Flavio Junqueira 16/Jul/09 18:42
        Resolved Resolved Closed Closed
        51d 4h 53m 1 Patrick Hunt 05/Sep/09 23:36
        Patrick Hunt made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        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/ )
        Flavio Junqueira made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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.
        Patrick Hunt made changes -
        Fix Version/s 3.3.0 [ 12313976 ]
        Patrick Hunt made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        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
        Flavio Junqueira made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Flavio Junqueira added a comment -

        I just committed this. Thanks, Chris.

        Show
        Flavio Junqueira added a comment - I just committed this. Thanks, Chris.
        Mahadev konar made changes -
        Assignee Chris Darroch [ cdarroch ]
        Chris Darroch made changes -
        Priority Major [ 3 ] Minor [ 4 ]
        Chris Darroch made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Release Note Fix minor compile warning in send_auth_info().
        Chris Darroch made changes -
        Field Original Value New Value
        Attachment ZOOKEEPER-468.patch [ 12413453 ]
        Chris Darroch created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development