[PATCH 3/6] fixup! Add reftable library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Johannes Schindelin <johannes.schindelin@xxxxxx>

A `void` function cannot return a value.

Signed-off-by: Johannes Schindelin <johannes.schindelin@xxxxxx>
---
 reftable/record.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/reftable/record.c b/reftable/record.c
index b0f18f26c55..5f48be1639e 100644
--- a/reftable/record.c
+++ b/reftable/record.c
@@ -1005,7 +1005,7 @@ int record_decode(struct record rec, struct slice key, byte extra,
 
 void record_clear(struct record rec)
 {
-	return rec.ops->clear(rec.data);
+	rec.ops->clear(rec.data);
 }
 
 bool record_is_deletion(struct record rec)
-- 
gitgitgadget




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux