From ab73af08c79be5359004c6602f754349282b56d7 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Fri, 3 Nov 2017 10:08:22 +0100 Subject: Do not return from void functions/expressions This was pointed out by clazy. Change-Id: I6f888e2cd667c05d0f9747fd0b2ef2bcbfe95a28 Reviewed-by: Christian Kandeler --- src/nfc/qndefnfcsmartposterrecord.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nfc/qndefnfcsmartposterrecord.cpp') diff --git a/src/nfc/qndefnfcsmartposterrecord.cpp b/src/nfc/qndefnfcsmartposterrecord.cpp index 73f2cd21..bc7acfab 100644 --- a/src/nfc/qndefnfcsmartposterrecord.cpp +++ b/src/nfc/qndefnfcsmartposterrecord.cpp @@ -566,7 +566,7 @@ void QNdefNfcSmartPosterRecord::addIcon(const QByteArray &type, const QByteArray rec.setType(type); rec.setData(data); - return addIcon(rec); + addIcon(rec); } /*! -- cgit v1.2.3