From nobody Thu May 2 21:45:57 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zoho.com; dkim=fail spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1495072429859405.96404142121696; Wed, 17 May 2017 18:53:49 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 159A74DD7C; Thu, 18 May 2017 01:53:44 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B03BE627DD; Thu, 18 May 2017 01:53:42 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id E1802180BAF6; Thu, 18 May 2017 01:53:37 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v4I1rame032618 for ; Wed, 17 May 2017 21:53:36 -0400 Received: by smtp.corp.redhat.com (Postfix) id 9919A1713C; Thu, 18 May 2017 01:53:36 +0000 (UTC) Received: from mx1.redhat.com (ext-mx04.extmail.prod.ext.phx2.redhat.com [10.5.110.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 916C8627DD for ; Thu, 18 May 2017 01:53:34 +0000 (UTC) Received: from mail-qk0-f196.google.com (mail-qk0-f196.google.com [209.85.220.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1EDD280467 for ; Thu, 18 May 2017 01:53:34 +0000 (UTC) Received: by mail-qk0-f196.google.com with SMTP id o85so4185121qkh.0 for ; Wed, 17 May 2017 18:53:34 -0700 (PDT) Received: from localhost.localdomain ([186.223.51.63]) by smtp.googlemail.com with ESMTPSA id c5sm2629744qkf.14.2017.05.17.18.53.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 May 2017 18:53:32 -0700 (PDT) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 159A74DD7C Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 159A74DD7C Authentication-Results: mx1.redhat.com; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XWscK4XN" DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 1EDD280467 Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jcfaracco@gmail.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 1EDD280467 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=v6ZxNUFPQwy1qEYzmXjUSw9Y4a73hvZZIJ1lueLSOzM=; b=XWscK4XNLsWR197/ScrD7aBh0b/PR1e5B+OXTTI+EYJeAUTMNN7K+25D+EaP86kNE6 cPe04Ymqae9bGTI8rZh3USgmjrRD43jmTUWzTEBNsFdwSJsmMeu6TlpHwQ+8HyKER+kI xvqn34AN4k09YXUbM9OCW/yMoyhCtUILOwYeto6deKUTXqFj91LLFuIfb6pFp+hIfubV HbXW92HPh6nYBkPAvqUe45oEZIjEcC3dpOGMgLlp9cgoay+1IEFFv1iUDoTm+ICG67UD 9krBC3L+MgpNF6V8iL3iRRpG9qeHS/X2qzbE9lspiyKZ6O/3/H5mAuUgDEVlrH0TQ2vh GGMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=v6ZxNUFPQwy1qEYzmXjUSw9Y4a73hvZZIJ1lueLSOzM=; b=iar+JwLVng29TvO82cv5qVM0zSxxjE7oMHOJVsPNTwMmwYdiNXqQM48Vz/KRmaSWGt QxRXlFHNXAzMAmUsZRCmHjOH/Q0GN1Je5P80NsWkzfV0KzCBqGKlwYU7xFUdOZalLG2N kHjmJZbPFHsbR57eRJcyYrfaObzeII1DW43z1Sb6L6jns1zkO4xDcMyQRCBY0KVY8WSV xZ/dsbEJ9eZM1aeVrvrb1WKiPNpbVP+piR1mniWfrK6bzmQuzI4PBv/qhcfpwxNOM7jw 2R9YHVo5WhqCRdAfugPS8Y89txLHgKqrS6VRDbTIvMV/JP17x9HSIWDc0gZ1eCN98S+e wEzg== X-Gm-Message-State: AODbwcAoyL/HjRlM2Ocx1arDbX9qyiL0qutL+Oz3gF0XE5wHN5uWPubL xJl+lZPtA7V6QYCP X-Received: by 10.55.66.80 with SMTP id p77mr1435186qka.225.1495072413199; Wed, 17 May 2017 18:53:33 -0700 (PDT) From: Julio Faracco To: libvir-list@redhat.com Date: Wed, 17 May 2017 22:53:23 -0300 Message-Id: <1495072403-21964-1-git-send-email-jcfaracco@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Thu, 18 May 2017 01:53:34 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Thu, 18 May 2017 01:53:34 +0000 (UTC) for IP:'209.85.220.196' DOMAIN:'mail-qk0-f196.google.com' HELO:'mail-qk0-f196.google.com' FROM:'jcfaracco@gmail.com' RCPT:'' X-RedHat-Spam-Score: 1.17 * (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, SPF_PASS) 209.85.220.196 mail-qk0-f196.google.com 209.85.220.196 mail-qk0-f196.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.28 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] datatypes: removing unnecessary return statement. X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 18 May 2017 01:53:45 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" There is a wrong 'return' statement after a 'goto' statement inside the function virConnectCloseCallbackDataRegister(). This commit only removes the 'return'. Signed-off-by: Julio Faracco Reviewed-by: John Ferlan --- src/datatypes.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/datatypes.c b/src/datatypes.c index 59ba956..46414ae 100644 --- a/src/datatypes.c +++ b/src/datatypes.c @@ -193,7 +193,6 @@ void virConnectCloseCallbackDataRegister(virConnectClos= eCallbackDataPtr closeDat VIR_WARN("Attempt to register callback on armed" " close callback object %p", closeData); goto cleanup; - return; } =20 closeData->conn =3D virObjectRef(conn); --=20 2.7.4 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list