Project

General

Profile

Actions

Bug #23774

closed

common: build warning in Preforker

Added by Patrick Donnelly about 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
High
Category:
build
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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));
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Actions #1

Updated by Patrick Donnelly about 6 years ago

  • Status changed from New to Fix Under Review
Actions #2

Updated by Patrick Donnelly almost 6 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF