Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-668

server_test.c fails to compile : ignoring the return value of write()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      When building with warnings as errors, the following occurs:

      /home/mcpierce/Packaging/qpid-dispatch/qpid-dispatch-0.1/tests/server_test.c: In function 'ufd_handler':
      /home/mcpierce/Packaging/qpid-dispatch/qpid-dispatch-0.1/tests/server_test.c:99:18: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result]
      write(fd[1], "X", 1);

      Attachments

        Activity

          People

            mcpierce Darryl Pierce
            mcpierce Darryl Pierce
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: