check: remove 'return sth' from void function 59/244359/1
authorAdrian Szyndela <adrian.s@samsung.com>
Thu, 17 Sep 2020 14:07:17 +0000 (16:07 +0200)
committerAdrian Szyndela <adrian.s@samsung.com>
Thu, 17 Sep 2020 14:19:37 +0000 (16:19 +0200)
Change-Id: I362319c7de7ac38f68595202efe8fb2b3c5a3389

bus/check.c

index 2221f71..19838ba 100644 (file)
@@ -558,7 +558,7 @@ bus_deferred_message_get_response (BusDeferredMessage *deferred_message)
 void
 bus_deferred_message_set_response (BusDeferredMessage *deferred_message, BusResult response)
 {
-  return deferred_message->response = response;
+  deferred_message->response = response;
 }
 
 void