Project

General

Profile

Bug #23774

common: build warning in Preforker

Added by Patrick Donnelly about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
High
Category:
build
Target version:
Start date:
04/17/2018
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

In file included from /home/pdonnell/ceph/src/ceph_osd.cc:49:0:
/home/pdonnell/ceph/src/common/Preforker.h: In member function ‘int Preforker::signal_exit(int)’:
/home/pdonnell/ceph/src/common/Preforker.h:111:7: warning: ignoring return value of ‘ssize_t safe_write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
       (void)safe_write(fd[1], &r, sizeof(r));
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

History

#1 Updated by Patrick Donnelly about 1 year ago

  • Status changed from New to Need Review

#2 Updated by Patrick Donnelly about 1 year ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF