mesh: Fix ignored return value
authorMichał Lowas-Rzechonek <michal.lowas-rzechonek@silvair.com>
Tue, 12 Nov 2019 14:54:25 +0000 (15:54 +0100)
committerAnupam Roy <anupam.r@samsung.com>
Tue, 17 Dec 2019 17:31:42 +0000 (23:01 +0530)
commit6d4892d620cc663f1481632f3d74f4ed33f8dab9
tree5ce346f805ced7dd314997dbbd87adbd8313a1f8
parent1ae8b06531003cc16e3db582269c28e515c751d2
mesh: Fix ignored return value

This fixes the following build error when compiling in maintainer mode:

mesh/keyring.c: In function ‘finalize’:
mesh/keyring.c:142:8: error: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Werror=unused-result]
  (void)write(fd, &key, sizeof(key));
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Change-Id: I0fb908ee59ae2db2dcd682c342dd94107419ab89
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
mesh/keyring.c