Skip to content

Commit eac8f87

Browse files
committed
primitives: do not complaing about FileHandle.mode being unused
1 parent b00fbd9 commit eac8f87

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/common/IPC/Primitives.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ namespace IPC {
6262
static FileHandle FromDesc(const FileDesc& desc);
6363

6464
int GetHandle() const {
65+
// Do not complain about mode being unused.
66+
Q_UNUSED(mode);
67+
6568
return handle;
6669
}
6770

0 commit comments

Comments
 (0)